10 lines
169 B
Plaintext
10 lines
169 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
. ../tui.sh
|
||
|
|
||
|
num="${1:-1}"
|
||
|
printf 'Usage: readchar NUMBER\n'
|
||
|
printf 'Input characters (number=%s):\n' "$num"
|
||
|
tui_readchar -n "$num" VAR
|
||
|
echo Characters: $VAR
|