diff --git a/core/terminal/ansi/ansi.odin b/core/terminal/ansi/ansi.odin index 5550a1671bb..409ed16089f 100644 --- a/core/terminal/ansi/ansi.odin +++ b/core/terminal/ansi/ansi.odin @@ -32,12 +32,14 @@ DSR :: "6n" // Device Status Report // CSI: private sequences -SCP :: "s" // Save Current Cursor Position -RCP :: "u" // Restore Saved Cursor Position -DECAWM_ON :: "?7h" // Auto Wrap Mode (Enabled) -DECAWM_OFF :: "?7l" // Auto Wrap Mode (Disabled) -DECTCEM_SHOW :: "?25h" // Text Cursor Enable Mode (Visible) -DECTCEM_HIDE :: "?25l" // Text Cursor Enable Mode (Invisible) +SCP :: "s" // Save Current Cursor Position +RCP :: "u" // Restore Saved Cursor Position +DECAWM_ON :: "?7h" // Auto Wrap Mode (Enabled) +DECAWM_OFF :: "?7l" // Auto Wrap Mode (Disabled) +DECTCEM_SHOW :: "?25h" // Text Cursor Enable Mode (Visible) +DECTCEM_HIDE :: "?25l" // Text Cursor Enable Mode (Invisible) +DECSET_ALT_SCREEN :: "?1049h" // Use Alternate Screen Buffer +DECRST_ALT_SCREEN :: "?1049l" // Use Normal Screen Buffer and restore cursor // SGR sequences