Implement DECALN control sequence
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?
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.
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)