6457 Commits

Author SHA1 Message Date
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
88017004d1 Merge pull request #1924 from ghostty-org/kittygfx
Multiple Kitty Graphics Fixes
2024-07-05 19:12:18 -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
Mitchell Hashimoto
9f3f663633 Merge pull request #1916 from jparise/darwin-manpath
termio: add man pages to MANPATH on macOS
2024-07-03 09:29:03 -07: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
13b787c0b5 Merge pull request #1915 from ghostty-org/macos-merge
macos: relabel tabs when mergeAllWindows is called
2024-07-02 14:14:33 -07:00
Mitchell Hashimoto
e3f299ac80 macos: relabel tabs when mergeAllWindows is called
Fixes #1902
2024-07-02 14:08:21 -07:00
Mitchell Hashimoto
6da2ef9112 build: if emit-docs is not set, still create share/man 2024-07-02 14:01:40 -07:00
Mitchell Hashimoto
4f8a7d3222 Merge pull request #1912 from ghostty-org/chdir
if chdir fails for subprocess, ignore the error
2024-07-02 09:54:37 -07: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
57c6f37dcd Merge pull request #1910 from ghostty-org/mouse-capture
core: mouse shift escape applies to all buttons, not just left
2024-07-01 18:43:28 -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
Mitchell Hashimoto
e54413c04b Merge pull request #1909 from jparise/mdgen-repo-url
build: update repository URLs in mdgen documents
2024-07-01 16:51:21 -07:00
Jon Parise
ade0e7aeaf build: update repository URLs in mdgen documents 2024-07-01 19:15:08 -04:00
Mitchell Hashimoto
bbba5ee7b5 Merge pull request #1908 from ghostty-org/macosql
macos: implement ctrl+command+d for quicklook under cursor
2024-07-01 10:12:22 -07: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
076c395cbe Merge pull request #1904 from antonk52/f/config-docs
docs: add valid values for enum config options
2024-07-01 09:34:23 -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
Mitchell Hashimoto
e2c359274d Merge pull request #1906 from ghostty-org/man
macos: add man pages to app bundle
2024-07-01 08:45:23 -07:00
Mitchell Hashimoto
b35ba8982a macos: add man pages to app bundle 2024-07-01 08:43:50 -07:00
Anton Kastritskii
af18adb192 docs: add valid values for enum config options
fixes #1899
2024-07-01 15:02:22 +01:00
Mitchell Hashimoto
4fdf1f99c8 Merge pull request #1901 from ghostty-org/macos-context
macOS: Context Menu
2024-06-30 20:18:13 -07:00
Mitchell Hashimoto
a076b1c4a4 Merge pull request #1900 from blinsay/benl/config-reload-docs
docs: add a note about config reload to README.md
2024-06-30 20:00:24 -07:00
Mitchell Hashimoto
f203124de0 prettier 2024-06-30 19:56:54 -07: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
1d70e822c5 macos: disable macOS-only API on iOS 2024-06-30 19:03:06 -07:00
Mitchell Hashimoto
f0737356cb macos: i don't like windowing in the context menu 2024-06-30 15:19:59 -07:00
Mitchell Hashimoto
174d83bfd3 macos: add windowing commands to context menu 2024-06-30 15:18:33 -07:00
Mitchell Hashimoto
6c01d20eb7 macos: add string extension 2024-06-30 14:58:28 -07:00
Ben Linsay
50909107c4 Add a line to the README about config reload 2024-06-30 14:38:41 -04: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
a771d65735 macos: start context-menu 2024-06-30 10:15:36 -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