mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-24 20:56:08 +03:00

Fixes #1401 SCOSC is ambiguous with regards to DECSLRM. This commit copies the logic of xterm: if left/right mode is enabled, then CSI S is always DECSLRM. But if left/right mode is disabled then CSI S empty always uses SCOSC. SCORC always works.