xtermcontrol
xtermcontrol copied to clipboard
optionally write control sequence to STDOUT instead of /dev/tty?
Would it be possible to optionally write the control sequence generated by xtermcontrol to STDOUT instead of /dev/tty? This would allow to use (and reuse) the control sequence later, e.g.
smallfont=$(xtermcontrol --font=8x16)
;
;
echo "${smallfont}" >/dev/tty
I would suggest creating a function and reusing that:
setFont() { xtermcontrol --font=8x16 ; }
setFont