ansi-term icon indicating copy to clipboard operation
ansi-term copied to clipboard

Add ANSI terminal "mocking"

Open joachimschmidt557 opened this issue 5 years ago • 3 comments

I think it would be nice to include a terminal emulator (basically an interpreter for ANSI escape sequences) in this repository as well. Something along the lines of https://github.com/selectel/pyte for example.

This would enable testing zig libraries and applications which use ANSI escape sequences for correct display without requiring a "real" terminal emulator like xterm and manually checking the output. Maybe this can even help in developing "real" full-featured terminal emulators.

joachimschmidt557 avatar Aug 10 '20 20:08 joachimschmidt557

@data-man Thanks for the material! I'll have a look at them before I can implement such a feature.

joachimschmidt557 avatar Aug 11 '20 16:08 joachimschmidt557

But maybe a full-featured VTE parser should belong into a new repository. Hmm

joachimschmidt557 avatar Aug 11 '20 16:08 joachimschmidt557