[Gambas-user] functional equivalent to inkey$ in gb.ncurses?
T Lee Davidson
t.lee.davidson at gmail.com
Wed Nov 14 20:04:34 CET 2018
Perhaps the Window Read event would serve your purpose.
___
Lee
On 11/14/18 1:33 PM, KKing wrote:
> 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
>>>
>
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
More information about the User
mailing list