[Gambas-user] functional equivalent to inkey$ in gb.ncurses?

KKing kicking177 at gmail.com
Wed Nov 14 19:33:27 CET 2018


In some old code I have roughly below, which I'd like to replicate in 
gb.ncurses but the Window.Read waits until a there is a keystroke, is 
there an alternative?

<<
Label1:
     v$ = inkey$
     IF v$ = "" THEN
         ' code to update an on screen clock and short a heartbeat
     ELSE
         ' code to deal with the input character
     END IF
     GOTO Label1
 >>



More information about the User mailing list