Mitchell Hashimoto
365567b3c6
terminal: increase std cap for now until we implement resize
2024-07-05 21:40:38 -07:00
Mitchell Hashimoto
245314b14e
termio: hook up OSC8
2024-07-05 21:40:38 -07:00
Mitchell Hashimoto
f920068ce6
terminal: full reset clears OSC8 state
2024-07-05 21:40:38 -07:00
Mitchell Hashimoto
d9e654da4a
terminal: scrollUp hyperlink tests
2024-07-05 21:40:38 -07:00
Mitchell Hashimoto
84edaed690
terminal: scrollDown with hyperlinks
2024-07-05 21:40:38 -07:00
Mitchell Hashimoto
bac1307c4b
terminal: index hyperlink tests
2024-07-05 21:40:38 -07:00
Mitchell Hashimoto
96ff17a9b4
terminal: save/restore cursor doesn't modify hyperlink state
2024-07-05 21:40:38 -07:00
Mitchell Hashimoto
57c5522a6b
terminal: handle moving/swapping/clearing cells with hyperlinks
2024-07-05 21:40:38 -07:00
Mitchell Hashimoto
e2133cbd92
terminal: row needs hyperlink state, test clearing hyperlink
2024-07-05 21:40:38 -07:00
Mitchell Hashimoto
a3a445a066
terminal: print sets hyperlink state, tests
2024-07-05 21:40:38 -07:00
Mitchell Hashimoto
6fc9e92dba
terminal: hyperlink deleted callback frees string memory
2024-07-05 21:40:37 -07:00
Mitchell Hashimoto
c880bb6f45
terminal: test hyperlink reuse shares ID
2024-07-05 21:40:37 -07:00
Mitchell Hashimoto
548850e453
terminal: RefCountedSet should call deleted on upsert
2024-07-05 21:39:56 -07:00
Mitchell Hashimoto
d1f41e2035
terminal: hyperlink start/end on screen
2024-07-05 21:39:55 -07:00
Mitchell Hashimoto
51c05aeb99
terminal: RefCountedSet doesn't need to pass base anymore
2024-07-05 21:39:07 -07:00
Mitchell Hashimoto
2e41afc787
terminal: RefCountedSet has Context variant methods
2024-07-05 21:39:07 -07:00
Mitchell Hashimoto
cb1caff018
terminal: refcountedset passes base memory to all context funcs
...
This enables these funcs to access memory offsets that may be present in
set items, which is possible since the set itself is in an offset-based
structure.
2024-07-05 21:39:07 -07:00
Mitchell Hashimoto
2a7755c515
terminal: hyperlink data structures beginning, alloc into page
2024-07-05 21:39:07 -07:00
Mitchell Hashimoto
a71b487d58
terminal: add strings table to page
2024-07-05 21:39:07 -07:00
Mitchell Hashimoto
69705cbced
terminal: remove the hyperlink stuff i'm starting over
2024-07-05 21:39:07 -07:00
Mitchell Hashimoto
75e1655228
terminal: change default hyperlink count to zero
2024-07-05 21:39:07 -07:00
Mitchell Hashimoto
25d1e861ec
terminal: page memory layout for uri/hyperlink data
2024-07-05 21:39:07 -07:00
Mitchell Hashimoto
6c7b7843e9
terminal: additional parse test cases
2024-07-05 21:39:07 -07:00
Mitchell Hashimoto
f8e74a563a
terminal: parse osc8 end
2024-07-05 21:39:07 -07:00
Mitchell Hashimoto
58173c9df5
terminal: parse osc 8 hyperlink_start
2024-07-05 21:39:06 -07:00
Mitchell Hashimoto
dea8859e2c
Merge pull request #1925 from ghostty-org/styleref
...
terminal: when adjusting page capacity, account for cursor ref counts
2024-07-05 21:38:54 -07:00
Mitchell Hashimoto
92ffa9af13
terminal: when adjusting page capacity, account for cursor ref counts
...
This fixes an issue where when we adjusted the capacity of the page, the
style ref count would be off by one (short by one).
The issue is that when adjusting the capacity of a page, it happens on
PageList which is unware of cursor state and therefore can't ensure to
reference the active style.
This creates an `adjustCapacity` call on `Screen` which can properly
handle this scenario.
2024-07-05 21:33:05 -07:00
Mitchell Hashimoto
3fc08aa660
terminal/kitty: intersect cell deletion is 1-based
2024-07-05 19:08:33 -07:00
Mitchell Hashimoto
c02481530a
terminal: Pin.isBetween incorrect if same y and same page
2024-07-05 19:06:57 -07:00
Mitchell Hashimoto
44c95cbf7d
terminal/kitty: delete by column/row is one-indexed
2024-07-05 18:59:21 -07:00
Mitchell Hashimoto
f4eea71859
terminal/kitty: image dimensions off by one fix
...
We weren't counting the original x/y as width 1.
2024-07-05 18:58:56 -07:00
Anton Kastritskii
0d6023f059
docs: warn about window-decoration
disables tabs functionality
2024-07-05 23:46:27 +01:00
Mitchell Hashimoto
4d2c98afea
termio: allow failing to build manpath string
2024-07-03 09:28:50 -07:00
Jon Parise
691319f6d7
termio: remove unnecessary resources_key const
2024-07-03 10:52:35 -04:00
Jon Parise
89ac7ac5f6
termio: add man pages to MANPATH on macOS
2024-07-03 10:52:35 -04:00
Mitchell Hashimoto
9baf4d143d
command: if chdir fails for subprocess, ignore the error
...
Fixes #1911
2024-07-02 09:47:50 -07:00
Mitchell Hashimoto
3462b0676d
core: mouse shift escape applies to all buttons, not just left
...
Fixes #1905
2024-07-01 18:42:32 -07:00
Jon Parise
ade0e7aeaf
build: update repository URLs in mdgen documents
2024-07-01 19:15:08 -04:00
Mitchell Hashimoto
7fbc73ad37
macos: implement ctrl+command+d for quicklook under cursor
2024-07-01 10:08:38 -07:00
Mitchell Hashimoto
85b8d87966
Merge pull request #1907 from jcollie/no-inherit-gtk-env
...
Don't leak env vars in GTK apprt.
2024-07-01 09:35:36 -07:00
Mitchell Hashimoto
d946809d6d
config: note blank valid value
2024-07-01 09:34:07 -07:00
Jeffrey C. Ollie
fa6d2b2913
Don't leak env vars in GTK apprt.
...
The GTK apprt should not leak the GDK_DEBUG and GSK_RENDERER env vars
to child processes.
2024-07-01 11:25:48 -05:00
Anton Kastritskii
af18adb192
docs: add valid values for enum config options
...
fixes #1899
2024-07-01 15:02:22 +01:00
Mitchell Hashimoto
57d71450ab
ctrl+click is handled as right-click (with various details)
...
If mouse capturing is enabled, we encode ctrl+click as ctrl+left-click
and DO NOT handle it as right click.
2024-06-30 19:44:51 -07:00
Mitchell Hashimoto
27fd05d112
apprt/gtk: conform to new mouse button API
2024-06-30 10:26:27 -07:00
Mitchell Hashimoto
32588a647f
core: on right click, only create selection if point isn't in prev sel
2024-06-30 10:24:53 -07:00
Mitchell Hashimoto
a586eb9889
core: right-click press selects word
2024-06-30 10:22:34 -07:00
Mitchell Hashimoto
03f37087a5
mouse button callbacks returns bool for consumption
2024-06-30 09:42:15 -07:00
Mitchell Hashimoto
38c31e98f1
Merge pull request #1898 from ghostty-org/pressure-click
...
Mouse Pressure Support and QuickLook on macOS
2024-06-30 12:35:37 -04:00
Codey Oxley
73d3761f65
docs: Convert 'unfocused-split-fill' comments into doc block
2024-06-29 21:27:23 -04:00