tui.sh/examples/readkey

8 lines
124 B
Plaintext
Raw Normal View History

2023-03-21 02:48:44 +03:00
#!/bin/sh
. ../tui.sh
printf 'Press any key. Key will printed below.\n'
tui_readkey KEY
printf 'Key pressed: %s\n' "$KEY"