Spriteful TErminal GrAphics Protocol: Difference between revisions

No edit summary
Line 25: Line 25:
* ESC (0x1b, 27) starts a new control sequence, terminating any ongoing one. This is necessary to conform to widespread existing behavior, but it is unfortunate, as it means we can't blithely write arbitrary bytes.
* ESC (0x1b, 27) starts a new control sequence, terminating any ongoing one. This is necessary to conform to widespread existing behavior, but it is unfortunate, as it means we can't blithely write arbitrary bytes.
* We mustn't tread on any defined [https://invisible-island.net/xterm/ctlseqs/ctlseqs.html XTerm control sequences].
* We mustn't tread on any defined [https://invisible-island.net/xterm/ctlseqs/ctlseqs.html XTerm control sequences].
==The control sequence==
'''FIXME'''


==Data formats==
==Data formats==
Line 87: Line 91:


In both cases, the extreme cell where pixels were <i>defined</i> is used, not necessarily where pixels were <i>drawn</i>. I.e. even if a cell was wholly transparent pixels, if the graphic was there, it counts.
In both cases, the extreme cell where pixels were <i>defined</i> is used, not necessarily where pixels were <i>drawn</i>. I.e. even if a cell was wholly transparent pixels, if the graphic was there, it counts.
===Z-index===
'''FIXME'''


===Scrolling===
===Scrolling===