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