octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #41315] pause(): every other call fails


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #41315] pause(): every other call fails
Date: Sat, 23 Jan 2016 01:33:03 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #3, bug #41315 (project octave):

If Felipe is pressing enter, which produces rn, then it is unsurprising that
one press registers as two characters.  Since most systems don't have a key
that returns r without n, a simple fix would be to ignore a r, as the attached
patch does.  An alternative would be to fix  raw_mode()  to force CR/NL to map
to NL on the input, which 

This doesn't address the issue of ignoring all keys except enter, but at least
gives something workable.

I haven't tested this since I don't currently have access to Windows. Felipe,
could you please test it?

(file #36134)
    _______________________________________________________

Additional Item Attachment:

File name: bug_41315_ignore_CR.cset       Size:1 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41315>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]