2582 Commits

Author SHA1 Message Date
Mitchell Hashimoto
0dc4d66691 Merge pull request #430 from mitchellh/confirm-quit
Confirm quit improvements, both macOS and GTK
2023-09-11 16:04:52 -07:00
Mitchell Hashimoto
fc90a4a052 apprt/gtk: do not ask for confirm window close if all surfaces idle 2023-09-11 15:53:20 -07:00
Mitchell Hashimoto
868b66ce74 apprt/gtk: integrate app needsConfirmQuit 2023-09-11 15:47:37 -07:00
Mitchell Hashimoto
999d17c49d macos: integrate needsConfirmQuit to quit if all windows are at prompt 2023-09-11 15:44:28 -07:00
Mitchell Hashimoto
56ccadd7f1 core: app needsConfirmQuit to streamline quitting if no active sessions 2023-09-11 15:44:08 -07:00
Mitchell Hashimoto
f96eb07733 Merge pull request #429 from mitchellh/macos-config-err
macos: show configuration errors in GUI
2023-09-11 15:22:06 -07:00
Mitchell Hashimoto
2f0905b60c macos: reload config MUST go through Zig core 2023-09-11 15:20:31 -07:00
Mitchell Hashimoto
42bbcbfb9b macos: add a reload configuration button 2023-09-11 15:13:02 -07:00
Mitchell Hashimoto
ffd181f10d macos: don't steal focus for config errors 2023-09-11 13:59:03 -07:00
Mitchell Hashimoto
b7f4c1d707 config: unify some error types for now 2023-09-11 13:55:06 -07:00
Mitchell Hashimoto
6f7fdf002f macos: hook up proper data events 2023-09-11 13:52:47 -07:00
Mitchell Hashimoto
711e3a5043 macos: add reload configuration to the Ghostty menu bar 2023-09-11 13:49:20 -07:00
Mitchell Hashimoto
4c0871b6dc macos: don't clear contentview for configuration on close 2023-09-11 13:39:29 -07:00
Mitchell Hashimoto
f485672d4e macos: fix some error window styling 2023-09-11 13:28:48 -07:00
Mitchell Hashimoto
db799d53e6 macos: UI for configuration errors 2023-09-11 13:21:13 -07:00
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