Aetf / libtsm

Terminal-emulator State Machine
Other
64 stars 24 forks source link

Implement DECALN control sequence #27

Open viccie30 opened 2 years ago

viccie30 commented 2 years ago

I'm trying to get libtsm to properly execute the vttest tests. The missing DECALN sequence is simply the first issue I ran into with the first tests.

I have implemented the behavior by reading the DEC STD 070 Video Systems Reference Manual and matching the output with that of xterm.

I plan to work my way through all the tests in vttest, do you think that's worthwhile?

viccie30 commented 2 years ago

I've noticed some of these changes, for example resetting margins and moving the cursor to the origin appear often in implementations. Before making more changes, I'll see if I can factor those repetitive parts out.

Aetf commented 2 years ago

This is huge! Thanks for working on this.

I plan to work my way through all the tests in vttest, do you think that's worthwhile?

How "common" is the sequences used in vttest? I think we should aim for it, but if there're some obscure sequences that are too hard to implement, feel free to skip them. (We should keep a list of known unimplemented sequences somewhere in the doc)