This commit is contained in:
ge
2023-03-21 02:48:44 +03:00
commit ed521e2e3c
9 changed files with 567 additions and 0 deletions

6
examples/curpos Normal file
View File

@ -0,0 +1,6 @@
#!/bin/sh
. ../tui.sh
pos="$(tui_curpos)"
printf 'Cursor position: COLUMN=%s LINE=%s\n' "${pos% *}" "${pos#* }"