xtermcontrol icon indicating copy to clipboard operation
xtermcontrol copied to clipboard

optionally write control sequence to STDOUT instead of /dev/tty?

Open harridu opened this issue 2 years ago • 1 comments

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

harridu avatar Nov 10 '23 10:11 harridu

I would suggest creating a function and reusing that:

setFont() { xtermcontrol --font=8x16 ; }
setFont

JessThrysoee avatar Nov 11 '23 15:11 JessThrysoee