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

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

[Octave-bug-tracker] [bug #55029] pause causes hang


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #55029] pause causes hang
Date: Fri, 23 Nov 2018 09:21:36 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #37, bug #55029 (project octave):

@Michael: could you run the following snippet (as a script or including the
last newline) in F28 and F29. You will be prompted to type a character and
you'll have 5 seconds to do so.


disp ("Type a character")
pause (5)
c = kbhit (0)



For me kbhit always returns the character I have typed.


octave:5> disp ("Type a character")
Type a character
octave:6> pause (5)
aoctave:7> c = kbhit (0)
c = a
octave:8> 



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55029>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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