5798 Commits

Author SHA1 Message Date
Gregory Anders
6c0609ddc8 terminal: reset alt screen kitty keyboard state on full reset 2024-03-26 08:33:21 -05:00
Mitchell Hashimoto
b68e1c6a5d Merge pull request #1555 from BvngeeCord/gtk-tabs-location
add 'gtk-tabs-location'
2024-03-25 21:37:50 -07:00
Mitchell Hashimoto
f00242deaf Merge pull request #1594 from aca/aca
apprt/gtk: commit buffer before "preeditchanged" resets
2024-03-25 21:36:44 -07:00
Mitchell Hashimoto
20870944fd Merge pull request #1610 from gpanders/macos-kitty-associated-text
input: fix associated text on macOS
2024-03-25 20:25:01 -07:00
Mitchell Hashimoto
7f1af89abb terminal: turn unreachable into todo 2024-03-25 20:11:21 -07:00
Mitchell Hashimoto
fcc0ea0c7c terminal: explicit error set for page clone 2024-03-25 20:10:03 -07:00
Mitchell Hashimoto
ad5d7b6c5a terminal: insert/deleteLines with L/R region across pages 2024-03-25 20:07:19 -07:00
Mitchell Hashimoto
e337ebe131 terminal: add clonePartialRowFrom 2024-03-25 20:01:28 -07:00
Gregory Anders
c634ba363a input: fix associated text on macOS
Ghostty does not report associated text on macOS when
macos-option-as-alt is enabled for _any_ key press, whether or not the
Alt modifier is actually present. The "option as alt" decision should
only be made when the alt modifier is present.
2024-03-25 13:43:32 -05:00
Mitchell Hashimoto
fe43462eb3 terminal: address todo to re-resolve 905 2024-03-25 11:20:28 -07:00
Mitchell Hashimoto
efa18d6971 Revert "ci: try PR builds on Namespace"
This reverts commit 59048668bb6ea003bc61cdbf98a92b3c42f7abd7.
2024-03-25 11:06:51 -07:00
Mitchell Hashimoto
41720b3c8d terminal: PageList support initialization of multi-page viewports 2024-03-25 11:06:21 -07:00
Mitchell Hashimoto
59048668bb ci: try PR builds on Namespace 2024-03-25 10:55:27 -07:00
Mitchell Hashimoto
705bd21055 terminal: PageList trim blanks erases empty pages
Fixes #1605
2024-03-25 10:18:31 -07:00
Mitchell Hashimoto
62abecd49d terminal: deleteLines resets line wrap 2024-03-25 10:09:23 -07:00
Mitchell Hashimoto
a58b03c5a0 terminal: insertLines clears row wrap state 2024-03-25 10:06:14 -07:00
Mitchell Hashimoto
dc858980de terminal: deleteChars resets row wrap state 2024-03-25 09:54:17 -07:00
Mitchell Hashimoto
9ee0b23ef7 terminal: clear spacer heads on growing cols w/o reflow 2024-03-25 09:42:05 -07:00
Mitchell Hashimoto
33ede13072 terminal: fix release builds 2024-03-24 21:28:30 -07:00
Mitchell Hashimoto
3e84591b84 terminal: insertBlanks doesn't split spacer tail 2024-03-24 21:27:45 -07:00
Mitchell Hashimoto
db3ab4b0c8 terminal: pause page integrity can be nested 2024-03-24 20:57:35 -07:00
Mitchell Hashimoto
d1a0149982 terminal: deleteChars must not shift a spacer head 2024-03-24 20:47:04 -07:00
Mitchell Hashimoto
36240b897c terminal: many more assertions around spacer state 2024-03-24 20:27:47 -07:00
Mitchell Hashimoto
1b8dc0c0c1 terminal: add a test for resize less cols across pages with cursor 2024-03-24 19:19:23 -07:00
Mitchell Hashimoto
3d6ae29dc3 terminal: when reflowing, set style to default to prevent integrity fail 2024-03-24 15:22:01 -07:00
Mitchell Hashimoto
be3749f1ad terminal: decaln accounts for styles across pages 2024-03-24 15:13:13 -07:00
Mitchell Hashimoto
f719999950 terminal: add assertion to page integrity that row/col count > 0 2024-03-24 14:46:43 -07:00
Mitchell Hashimoto
225cc642b9 terminal: allow growing beyond max size for active area to fit 2024-03-24 09:45:35 -07:00
Mitchell Hashimoto
6cbe699533 terminal: remove problematic test on 4k pages, still working on it 2024-03-23 21:43:16 -07:00
Mitchell Hashimoto
e4332891ee terminal: avoid memory fragmentation if possible on col grow 2024-03-23 21:37:34 -07:00
Mitchell Hashimoto
8c148fc32e terminal: use std.meta.eql for equality checks 2024-03-22 21:04:05 -07:00
Mitchell Hashimoto
eb6536f4a7 address latest zig changes 2024-03-22 20:29:45 -07:00
Mitchell Hashimoto
25a5e078fa terminal: more accidental logging 2024-03-22 20:28:23 -07:00
Mitchell Hashimoto
a301f7da06 terminal: undo accidental debug logs 2024-03-22 20:28:23 -07:00
Mitchell Hashimoto
9685a56941 terminal: clear unprotected row should preserve row attrs 2024-03-22 20:28:23 -07:00
Mitchell Hashimoto
06a8e4ae72 terminal: spacer heads should only exist w/o l/r margin 2024-03-22 20:28:23 -07:00
Mitchell Hashimoto
8818e4da05 terminal: bitmapallocator handles perfectly divisble chunk size 2024-03-22 20:28:23 -07:00
Mitchell Hashimoto
cd30534808 terminal: no scrollback eraseRows needs to fix style 2024-03-22 20:28:23 -07:00
Mitchell Hashimoto
ee5be26511 terminal: prevent false positive integrity check 2024-03-22 20:28:23 -07:00
Mitchell Hashimoto
0bc831d19f terminal: relax grapheme integrity check for fast paths 2024-03-22 20:28:22 -07:00
Mitchell Hashimoto
f848ed2a63 terminal: handle row wrap integrity issues on reflow 2024-03-22 20:28:22 -07:00
Mitchell Hashimoto
71c04db5a9 terminal: fix cursor style on deleteLines 2024-03-22 20:28:22 -07:00
Mitchell Hashimoto
65696c9900 terminal: clearcells only decs cursor ref if same page 2024-03-22 20:28:22 -07:00
Mitchell Hashimoto
40cac97c86 terminal: insertChars/deleteChars needs to account properly 2024-03-22 20:28:22 -07:00
Mitchell Hashimoto
4c35f35904 terminal: get rid of some verifications, comment why 2024-03-22 20:28:22 -07:00
Mitchell Hashimoto
3b6ae6807c terminal: add more integrity assertions 2024-03-22 20:28:22 -07:00
Mitchell Hashimoto
731f917350 terminal: add Screen integrity checks, pepper them through cursors 2024-03-22 20:28:22 -07:00
Mitchell Hashimoto
2e9cc75206 terminal: add integrity checks throughout PageList 2024-03-22 20:28:22 -07:00
Mitchell Hashimoto
1649641d18 terminal: add some integrity assertions 2024-03-22 20:28:22 -07:00
Mitchell Hashimoto
1be06e8f3f terminal: add page.verifyIntegrity function 2024-03-22 20:28:22 -07:00