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

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

[Octave-bug-tracker] [bug #54621] kbhit does not return on non-interacti


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #54621] kbhit does not return on non-interactive shell
Date: Wed, 5 Sep 2018 14:31:05 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0

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

Yes, kbhit waits for input when it is called and correctly returns the key
that was hit, whether Octave is running interactively or not.

If you want kbhit to return immediately without waiting for some reason, then
you might want to look at redirecting stdin to something other than a
terminal, for example an empty file or /dev/null. If you need further help,
you can use the help mailing list
(https://lists.gnu.org/mailman/listinfo/help-octave).

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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