phronmophobic / membrane.term

A terminal emulator in pure clojure
Eclipse Public License 1.0
58 stars 1 forks source link

Add a ANSI text test babashka script #11

Closed lread closed 2 years ago

lread commented 2 years ago

Prints text SGR effects for visual inspection.

Should help with #8

lread commented 2 years ago

Had to create a wrapper script.sh with:

script/ansi-text-test.clj

Then ran:

clj -M:membrane.term screenshot --play script.sh --height 51 --width 133 --line-delay 1 --final-delay 50

Which resulted in terminal.png: image

lread commented 2 years ago

Think I'll do one more commit.

lread commented 2 years ago

Yeah I think things are now clearer. Here's a new membrane.term generated screenshot: image

lread commented 2 years ago

@phronmophobic if you think this is a handy script too, I feel it is fine to merge.