st/show_stuff.sh
Andreev Gregory b48198caf0 |
2025-03-25 11:19:14 +03:00

9 lines
147 B
Bash
Executable File

#!/bin/sh
trap 'stty sane; exit' INT TERM
eval "$@"
stty_orig="$(stty -g)"
stty -echo raw
dd bs=1 count=1 1>/dev/null 2>/dev/null
stty $stty_orig