init
This commit is contained in:
7
examples/readkey
Normal file
7
examples/readkey
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
. ../tui.sh
|
||||
|
||||
printf 'Press any key. Key will printed below.\n'
|
||||
tui_readkey KEY
|
||||
printf 'Key pressed: %s\n' "$KEY"
|
Reference in New Issue
Block a user