|
From: | Andreas von Borany |
Subject: | [Octave-bug-tracker] [bug #54621] kbhit does not return on non-interactive shell |
Date: | Thu, 6 Sep 2018 08:38:22 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36 |
Follow-up Comment #4, bug #54621 (project octave): Of course I could do that or adopt my script, but what would be the reason of not returning an empty string when we are in a non-interactive shell (would be far more convenient). In Matlab a similar function is provided (https://de.mathworks.com/matlabcentral/fileexchange/30622-non-wait-detection-of-keyboard-input-including-mex-implementation) which is also returning. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?54621> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |