2615 Commits

Author SHA1 Message Date
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
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
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
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
Mitchell Hashimoto
bb60d2c1c0 renderer/opengl: urls 2023-11-29 15:30:23 -08:00
Mitchell Hashimoto
c66273e91c input: better docs on links 2023-11-29 15:30:23 -08:00
Mitchell Hashimoto
0938a0d638 core: handle URL clicking properly with shift-escaping mouse events 2023-11-29 15:30:23 -08:00
Mitchell Hashimoto
056e96748a core: don't crash if link processing fails 2023-11-29 15:30:22 -08:00
Mitchell Hashimoto
995e4e3757 os: open 2023-11-29 15:30:22 -08:00
Mitchell Hashimoto
dcbe0b8a5f core: only update mouse hover point when no other mouse action 2023-11-29 15:30:22 -08:00
Mitchell Hashimoto
8fcf3f08dd core: send mouse hover point 2023-11-29 15:30:22 -08:00
Mitchell Hashimoto
3a599ec7df renderer: link sets handle hover links 2023-11-29 15:30:22 -08:00
Mitchell Hashimoto
b94c607256 renderer: matchset tests 2023-11-29 15:30:22 -08:00
Mitchell Hashimoto
5a7596e1b1 renderer: link set for more efficient matching 2023-11-29 15:30:22 -08:00
Mitchell Hashimoto
172a91e95d core: change mouse cursor over link 2023-11-29 15:30:22 -08:00
Mitchell Hashimoto
20cc369561 core: detect link click 2023-11-29 15:30:22 -08:00
Mitchell Hashimoto
aa86031ff6 terminal: move line searching here, unit test 2023-11-29 15:30:22 -08:00
Mitchell Hashimoto
be05c3af53 input: add Link 2023-11-29 15:30:22 -08:00
Mitchell Hashimoto
5db002cb12 renderer/metal: underline urls 2023-11-29 15:30:21 -08:00
Mitchell Hashimoto
c7ccded359 terminal: Screen.getLine 2023-11-29 15:30:07 -08:00
Mitchell Hashimoto
3aba42c3f7 terminal: stringmaps 2023-11-29 15:30:07 -08:00
Mitchell Hashimoto
0487dbfb25 terminal: selectionString uses arraylist to build results 2023-11-29 15:30:07 -08:00
Mitchell Hashimoto
7fc95690bc terminal: basic lineIterator on screen 2023-11-29 15:30:07 -08:00
Mitchell Hashimoto
2ee493c972 Merge pull request #942 from mitchellh/themes
Built-in Themes (based on iTerm2-Color-Schemes)
2023-11-28 08:13:19 -08:00
Burak Yildiz
44a3b22db8 fix selection clearing after a key press 2023-11-27 21:03:24 +01:00
Tim Culverhouse
07e6cf900f key-encode: only set associated text when there is printable text
Associated text should only be sent to the terminal when printable text
is generated from the keypress. Prevent sending associated text when any
modifier is pressed, except for Shift, NumLock, and Capslock

This brings Ghostty inline with the output of Kitty.
2023-11-24 14:27:37 -06:00