Mitchell Hashimoto
e3fbda73b5
README: note where config errors are logged
2023-09-11 10:04:49 -07:00
Mitchell Hashimoto
f93d7a8942
Merge pull request #428 from mitchellh/config-errs
...
Track and log configuration errors, non-fatal
2023-09-11 10:00:33 -07:00
Mitchell Hashimoto
22f3fea98f
config: turn invalid config-file values into errors in the list
2023-09-11 09:46:27 -07:00
Mitchell Hashimoto
f0ee2fb454
macos: log configuration errors
2023-09-11 09:39:58 -07:00
Mitchell Hashimoto
9be46fa80a
apprt/gtk: log configuration errors
2023-09-11 09:18:03 -07:00
Mitchell Hashimoto
e5123330ce
config: add ErrorList file
2023-09-11 09:17:29 -07:00
Mitchell Hashimoto
4ee9531ce3
apprt/glfw: log configuration errors
2023-09-11 09:16:56 -07:00
Mitchell Hashimoto
a359641d07
config: store unknown errors in list too
2023-09-11 09:14:27 -07:00
Mitchell Hashimoto
75e8d8f0da
config: arg parser supports custom types with error tracking
2023-09-11 09:10:31 -07:00
Mitchell Hashimoto
58a43f1980
config: store some basic errors on parse
2023-09-11 09:10:26 -07:00
Mitchell Hashimoto
cc13f0fe49
config: cannot set underscore-prefixed fields
2023-09-11 09:10:22 -07:00
Mitchell Hashimoto
b5913a2b10
Merge pull request #427 from mitchellh/tomspeak-patch-1
...
Update README.md Config location
2023-09-11 07:18:18 -07:00
tom speak
97154598c0
Update README.md Config location
2023-09-11 10:17:17 +01:00
Mitchell Hashimoto
6464a7c8b1
Merge pull request #426 from mitchellh/cursor-q
...
Underline cursor, fix CSI q parsing
2023-09-10 22:16:39 -07:00
Mitchell Hashimoto
10989ae7b0
renderer: implement underline cursor
2023-09-10 22:05:47 -07:00
Mitchell Hashimoto
24af24a086
terminal: CSI q requires a space intermediate
2023-09-10 22:01:17 -07:00
Mitchell Hashimoto
1a9ebf3048
Merge pull request #425 from mitchellh/split-config
...
Configurable unfocused split opacity, C API for reading Config
2023-09-10 19:03:36 -07:00
Mitchell Hashimoto
2b04a7114b
macos: use the configured unfocused split opacity
2023-09-10 18:52:40 -07:00
Mitchell Hashimoto
2820db55be
config: add C API ghostty_config_get to read configuration values
2023-09-10 18:45:02 -07:00
Mitchell Hashimoto
b14ba8c022
config: extract into dedicated dir, split into files
2023-09-10 16:17:19 -07:00
Mitchell Hashimoto
8bec01f237
macos: disable hit testing for unfocused split rectangle
2023-09-10 16:02:09 -07:00
Mitchell Hashimoto
8b26e93cb5
renderer: update some code comments
2023-09-10 12:18:38 -07:00
Mitchell Hashimoto
ef5c5d1c0b
macos: add split zoom to menu
2023-09-10 09:30:42 -07:00
Mitchell Hashimoto
1d0e2c43b5
Merge pull request #423 from mitchellh/split-focus
...
macos: fade unfocused splits
2023-09-10 09:20:00 -07:00
Mitchell Hashimoto
de564dad94
macos: fade unfocused splits
...
Fixes #353
2023-09-10 09:17:46 -07:00
Mitchell Hashimoto
4be097b901
Merge pull request #422 from mitchellh/split-traversal
...
macos: split traversal uses direction to determine proper focus target
2023-09-10 09:04:15 -07:00
Mitchell Hashimoto
5f30223e84
macos: new window assertion is unnecessary
...
We handle both cases
2023-09-10 09:03:53 -07:00
Mitchell Hashimoto
303c5ca189
macos: split traversal uses direction to determine proper focus target
...
Fixes #415
2023-09-10 08:59:05 -07:00
Mitchell Hashimoto
946826c384
Merge pull request #421 from mitchellh/mode12
...
Cursor state (style, blinking, visiblity, focus) refactor, implement mode 12 support
2023-09-10 08:15:50 -07:00
Mitchell Hashimoto
afacc2ca9e
renderer: cursor style unit tests
2023-09-09 20:48:56 -07:00
Mitchell Hashimoto
8d96c2beed
termio/exec: changing default cursor config updates at runtime
2023-09-09 20:40:38 -07:00
Mitchell Hashimoto
160b1eeb5a
termio/exec: ensure initial cursor blink mode is set to config
2023-09-09 20:40:22 -07:00
Mitchell Hashimoto
3583a0c1ca
renderer/opengl: new cursor apis
2023-09-09 20:37:56 -07:00
Mitchell Hashimoto
d9cfd00e9f
Big Cursor State Refactor
...
This makes a few major changes:
- cursor style on terminal is single source of stylistic truth
- cursor style is split between style and style request
- cursor blinking is handled by the renderer thread
- cursor style/visibility is no longer stored as persistent state on
renderers
- cursor style computation is extracted to be shared by all renderers
- mode 12 "cursor_blinking" is now source of truth on whether blinking
is enabled or not
- CSI q and mode 12 are synced like xterm
2023-09-09 20:19:37 -07:00
Mitchell Hashimoto
7fd8dde933
Merge pull request #420 from mitchellh/macos-prev-next-tab
...
macos: add prev/next tab custom binding support
2023-09-09 13:02:53 -07:00
Mitchell Hashimoto
f31bde48fc
macos: add prev/next tab custom binding support
2023-09-09 13:00:23 -07:00
Mitchell Hashimoto
ce18b63f93
Merge pull request #419 from mitchellh/macos-flags
...
macos: kitty key events for modifier-only keys
2023-09-09 09:23:05 -07:00
Mitchell Hashimoto
e5cba11ad0
macos: key events for modifier-only keys
2023-09-09 09:22:15 -07:00
Mitchell Hashimoto
2e6e6c27f5
Merge pull request #418 from mitchellh/mrn/nix-add-zls
...
nix: add latest version of `zls` to flake.nix
2023-09-09 08:15:01 -07:00
Mitchell Hashimoto
09ac49aa11
Merge pull request #416 from mitchellh/mrn/gtk-new-window-action
...
gtk: add new-window action to .desktop files
2023-09-09 08:14:08 -07:00
Thorsten Ball
d86de34cf1
nix: add latest version of zls
to flake.nix
...
I know not everybody uses ZLS (or LSPs in general) but I think it's very
useful and it's very handy to have it in the `flake.nix` to keep it up
to date with the `zig` version.
As with a lot of my PRs in this project, please consider the following a
disclaimer: I have 0 clue what I'm doing here and if there's a better
way to do what I'm trying to do, let me know!
2023-09-09 15:18:05 +02:00
Thorsten Ball
d275256e32
gtk: add new-window action to .desktop files
...
Inspired by #413 .
This modifies the .desktop files so that it's possible to right-click on
the Ghostty icon in a dock and get the "New window" action.
Apparently this is how you implement that in GTK applications. In order
for us to also get "New tab", we'd have to implement a CLI flag, I
think.
2023-09-09 07:04:22 +02:00
Mitchell Hashimoto
1ebcec89fb
Merge pull request #413 from mitchellh/macos-dock-menu
...
macos: dock menu
2023-09-08 11:40:01 -07:00
Mitchell Hashimoto
8619351df7
macos: dock menu
2023-09-08 11:37:56 -07:00
Mitchell Hashimoto
0ec3e299a0
Merge pull request #411 from mitchellh/macos-dock-click
...
macos: handle reopen event and open a window if none are visible
2023-09-07 14:51:21 -07:00
Mitchell Hashimoto
1d8ee005c6
macos: handle reopen event and open a window if none are visible
...
Fixes #410
2023-09-07 14:47:50 -07:00
Mitchell Hashimoto
2c7d4321cd
Merge pull request #409 from mitchellh/cursor-focus-box
...
renderer: always show cursor if window is not focused
2023-09-06 11:34:26 -07:00
Mitchell Hashimoto
d1830c6ac2
Merge pull request #405 from mitchellh/goonz/fullscren-split-focus-fix
...
macos: fix split focus when toggling fullscreen
2023-09-06 11:26:02 -07:00
Mitchell Hashimoto
a6c40d0417
renderer: always show cursor if window is not focused
...
Fixes #400
This ensures the hollow box is shown even if the cursor is not in a
blinking state when unfocus happens. We still hide the cursor even on
unfocus if the terminal mode explictly asks for a hidden cursor.
2023-09-06 11:23:42 -07:00
Mitchell Hashimoto
342df1e994
Merge pull request #407 from mitchellh/dependabot/github_actions/cachix/install-nix-action-23
...
build(deps): bump cachix/install-nix-action from 22 to 23
2023-09-06 10:21:06 -07:00