4231 Commits

Author SHA1 Message Date
Thorsten Ball
eed2bb3078 gtk: refactor code and add comments to Paned 2023-11-30 21:43:39 -08:00
Thorsten Ball
fde6289880 gtk: rename and refactor Tab.deinit 2023-11-30 21:43:39 -08:00
Thorsten Ball
34e4261210 gtk: refactor the Paned deinit method 2023-11-30 21:43:39 -08:00
Thorsten Ball
adba77c3f9 gtk: fix warning when replacing children of Paned 2023-11-30 21:43:39 -08:00
Thorsten Ball
d88c29377b gtk: use deinit method on Paned consistently 2023-11-30 21:43:39 -08:00
Thorsten Ball
77b8e3c956 gtk: move helper function around 2023-11-30 21:43:39 -08:00
Thorsten Ball
aaa6ff8884 gtk: introduce helper method on Paned 2023-11-30 21:43:39 -08:00
Thorsten Ball
dc0f6e3a5b WIP: gtk: handle split surfaces when closing tab/window 2023-11-30 21:43:38 -08:00
Thorsten Ball
a7717289eb gtk: fix tab settings after introducing *Tab 2023-11-30 21:43:38 -08:00
Thorsten Ball
790cd84203 gtk: refator Parent/Tab/Paned and how they interact 2023-11-30 21:43:38 -08:00
Thorsten Ball
9ddf097a03 gtk: Refactor how a new split is created 2023-11-30 21:43:38 -08:00
Thorsten Ball
de7cbb602f gtk: refactor replacing child of Paned 2023-11-30 21:43:38 -08:00
Thorsten Ball
0add9de0eb gtk: handle closing of surfaces with sibling being a Paned 2023-11-30 21:43:38 -08:00
Thorsten Ball
142a2f4cb0 gtk: refactor how Paned is created 2023-11-30 21:43:38 -08:00
Thorsten Ball
19f7b37bb3 gtk: move Child/Parent/Position into same file 2023-11-30 21:43:38 -08:00
Thorsten Ball
be836bc777 gtk: allow closing split panes that have been split 2023-11-30 21:43:38 -08:00
Thorsten Ball
5e789bf152 gtk: allow splitting when already split 2023-11-30 21:43:38 -08:00
Thorsten Ball
2ed841145b gtk: take direction into account when creating a new split 2023-11-30 21:43:38 -08:00
Thorsten Ball
a50fc7bc50 gtk: use unreachable in switch statements 2023-11-30 21:43:38 -08:00
Thorsten Ball
8afcce666a gtk: wire up close-tab button 2023-11-30 21:43:38 -08:00
Thorsten Ball
98a5016598 gtk: simplify code when creating new split 2023-11-30 21:43:38 -08:00
Thorsten Ball
601eed24c4 gtk: remove code comments and dead code 2023-11-30 21:43:38 -08:00
Thorsten Ball
2d7a81c0db gtk: cleanup code in *Paned 2023-11-30 21:43:38 -08:00
Thorsten Ball
d88898fc61 gtk: get 1st version of GTK splits working 2023-11-30 21:43:37 -08:00
Nathan Fisher
aba1b85503 Add Parent and Child types for tracking splits; Add methods for
adding start and end children in `Paned` widget;
2023-11-30 21:41:34 -08:00
Nathan Fisher
5b5c2c9ab2 Fill out the rest of Tab.init() 2023-11-30 21:41:34 -08:00
Nathan Fisher
1b16c2dd23 Add to Tab.init and fix compilation errors 2023-11-30 21:41:34 -08:00
Nathan Fisher
5c0b668517 Begin working on a skeleton for splits in Linux/Gtk 2023-11-30 21:41:34 -08:00
Mitchell Hashimoto
3919530a09 Merge pull request #969 from vancluever/vancluever-fix-x11-window-class
gtk: make sure WM_CLASS is being set on X11
2023-11-30 21:40:53 -08:00
Chris Marchesi
1832401e0e gtk: make sure WM_CLASS is being set on X11
This ensures that WM_CLASS is being set on X11, looks like this was
missed in #816 (not 100% sure if it always needs to be set in GDK or if
it's a side effect of us not using g_application_run).

This also adds the "x11-instance-name" config attribute to control the
instance name, which defaults to "ghostty" (or "ghostty-debug" on debug
builds).
2023-11-30 20:26:12 -08:00
Mitchell Hashimoto
f974a6f55d Merge pull request #953 from der-teufel-programming/update_once_more
Update to latest master
2023-11-30 14:17:46 -08:00
Mitchell Hashimoto
2d8620e47e nix: update cache hash 2023-11-30 14:07:14 -08:00
Mitchell Hashimoto
8f5f8fb0bd update Zig version in Nix 2023-11-30 14:06:24 -08:00
Krzysztof Wolicki
073868888c Fix forgotten openIterableDir 2023-11-30 22:04:34 +01:00
Krzysztof Wolicki
9238bdb4da Fix src/Surface.zig
Change fastmem.copy to use memcpy builtin
2023-11-30 21:58:14 +01:00
Krzysztof Wolicki
bfc688e96e Update required zig version to 0.12.0-dev.1767+1e42a3de8 2023-11-30 21:41:42 +01:00
Krzysztof Wolicki
0750698b62 Update to latest master,
update libxev dependency,
change mach_glfw to an updated fork until upstream updates
2023-11-30 21:41:33 +01:00
Mitchell Hashimoto
ffcdbca21b Merge pull request #973 from vancluever/vancluever-rectangle-select
Add rectangle select
2023-11-30 12:40:05 -08:00
Krzysztof Wolicki
46699d53d1 Update to latest master 2023-11-30 21:40:01 +01:00
Chris Marchesi
b84fb25e55 Add rectangle select
This adds rectangle select mode; when dragging with ctrl+alt (or
super+alt on MacOS), this allows you to select a rectangular region of
the terminal instead of the full start-end points of the buffer.
2023-11-30 12:35:52 -08:00
Mitchell Hashimoto
e27eb727c4 Merge pull request #972 from mitchellh/claer-screen
termio: clear_screen binding does not trigger scrollback preservation
2023-11-30 12:33:27 -08:00
Mitchell Hashimoto
810242b472 termio: clear_screen binding does not trigger scrollback preservation
Fixes #970
2023-11-30 12:32:35 -08:00
Mitchell Hashimoto
ee08346dfe Merge pull request #968 from mitchellh/urls
Clickable URLs
2023-11-30 12:15:55 -08:00
Mitchell Hashimoto
e5380822ea Merge pull request #956 from rockorager/fix-associated-text
key-encode: only set associated text when there is printable text
2023-11-29 21:38:16 -08:00
Mitchell Hashimoto
bc7643eae9 input: update preventsText comment 2023-11-29 21:36:10 -08:00
Mitchell Hashimoto
659b43de37 input: Kitty encoding suppress associated text on macOS with alt 2023-11-29 21:34:30 -08:00
Mitchell Hashimoto
eac1731d9d apprt/gtk: translate modifier-only presses to proper modifier state 2023-11-29 20:37:56 -08:00
Mitchell Hashimoto
2d2495350f core: on mod change, rerun cursor pos callback 2023-11-29 18:44:22 -08:00
Mitchell Hashimoto
e6f7fb76a8 config: ability to disable URL matching 2023-11-29 16:50:26 -08:00
Mitchell Hashimoto
be1be2c64d core: only process link detection on cursor pos if cell changes 2023-11-29 15:54:13 -08:00