Files
ghostty/src
Mitchell Hashimoto c5e5d61438 terminal: bring alt screen behaviors much closer in line with xterm
This brings the behavior of mode 47, 1047, and 1049 much closer to
xterm's behavior. I found that our prior implementation had many
deficiencies.

For example, we weren't properly copying the cursor state back to the
primary screen from the alternate screen for modes 47 and 1047. And we
weren't saving/restoring cursor state unconditionally for mode 1049 even
if we were already in the alternate screen.

These are weird, edgy behaviors that I don't think anyone expected
(evidence by there being no bug reports about them), but they are bugs
nontheless.

Many tests added.
2025-05-29 15:43:27 -07:00
..
2025-05-21 10:20:09 -07:00
2025-05-27 07:17:45 -07:00
2025-05-27 07:17:45 -07:00
2025-05-26 21:50:14 -06:00
2025-05-26 21:50:14 -06:00
2025-05-26 21:50:14 -06:00
2025-05-26 21:50:14 -06:00
2025-05-26 21:50:14 -06:00
2025-01-18 22:47:18 +09:00
2025-05-21 10:20:09 -07:00
2025-05-26 21:50:14 -06:00
2024-09-26 22:00:11 -07:00
2025-03-11 14:39:04 -07:00
2024-10-18 08:11:11 -07:00
2025-05-26 21:50:14 -06:00
2025-05-26 21:50:14 -06:00
2025-03-11 14:53:30 -07:00
2025-03-07 13:42:00 -08:00
2025-05-21 10:20:09 -07:00
2024-08-16 14:35:10 -07:00
2022-08-18 11:42:32 -07:00
2025-03-12 16:29:17 -07:00
2025-03-12 11:29:13 -07:00
2025-05-09 10:01:05 -07:00
2024-08-16 10:36:10 -07:00