#remap of DEC cursor_save/cursor_restore from ESC sequence to equivalent CSI
#remap of DEC cursor_save/cursor_restore from ESC sequence to equivalent CSI
#probably not ideal - consider putting cursor_save/cursor_restore in functions so they can be called from the appropriate switch branch instead of using this mapping
#probably not ideal - consider putting cursor_save/cursor_restore in functions so they can be called from the appropriate switch branch instead of using this mapping
#review - cost/benefit of function calls within these switch-arms instead of inline code?
#review - cost/benefit of function calls within these switch-arms instead of inline code?
#todo - consider CSI s DECSLRM vs ansi.sys \x1b\[s - we need \x1b\[s for oldschool ansi art - but may have to enable only for that.
#we should probably therefore reverse this mapping so that x1b7 x1b8 are the primary codes for save/restore
#remap of DEC cursor_save/cursor_restore from ESC sequence to equivalent CSI
#remap of DEC cursor_save/cursor_restore from ESC sequence to equivalent CSI
#probably not ideal - consider putting cursor_save/cursor_restore in functions so they can be called from the appropriate switch branch instead of using this mapping
#probably not ideal - consider putting cursor_save/cursor_restore in functions so they can be called from the appropriate switch branch instead of using this mapping
#review - cost/benefit of function calls within these switch-arms instead of inline code?
#review - cost/benefit of function calls within these switch-arms instead of inline code?
#todo - consider CSI s DECSLRM vs ansi.sys \x1b\[s - we need \x1b\[s for oldschool ansi art - but may have to enable only for that.
#we should probably therefore reverse this mapping so that x1b7 x1b8 are the primary codes for save/restore