Spriteful TErminal GrAphics Protocol: Difference between revisions
| Line 167: | Line 167: | ||
===Scrollback buffer=== | ===Scrollback buffer=== | ||
If a line of text is available for scrollback, any graphics present on that line <b>should</b> be stored in common, and faithfully reproduced during a scrollback, unless they are deleted or moved. The identifiers of any such graphics remain reserved until the graphics are erased, or no longer relevant to the scrollback buffer, unless the terminal doesn't support graphics in the scrollback buffer, in which case their identifiers <b>must</b> be recycled. If such an offscreen graphic is reloaded, the reload <b>should</b> be faithfully reproduced. | If a line of text is available for scrollback, any graphics present on that line <b>should</b> be stored in common, and faithfully reproduced during a scrollback, unless they are deleted or moved. The identifiers of any such graphics remain reserved until the graphics are erased, or no longer relevant to the scrollback buffer, unless the terminal doesn't support graphics in the scrollback buffer, in which case their identifiers <b>must</b> be recycled. If such an offscreen graphic is reloaded, the reload <b>should</b> be faithfully reproduced. | ||
If scrollback is preserved to disk, graphics in the preserved region <b>should</b> be likewise preserved. If graphics are preserved, their identifiers <b>should</b> be preserved, and made available to new contexts. The means of referencing them from within the preserved content is entirely up to the terminal. | |||
===Alternate screen=== | ===Alternate screen=== | ||