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
Mitchell Hashimoto
e2f7d01b9d
Merge pull request #406 from mitchellh/dependabot/github_actions/actions/checkout-4
...
build(deps): bump actions/checkout from 3 to 4
2023-09-06 10:20:44 -07:00
Mitchell Hashimoto
a9750ad04a
Merge pull request #408 from mitchellh/mrn/gtk-single-instance-flag
...
gtk: add gtk-single-instance setting to allow disabling of it
2023-09-06 10:19:30 -07:00
Thorsten Ball
cac5b00d94
gtk: add gtk-single-instance setting to allow disabling of it
...
This is based on our conversation on Discord and adds a setting for GTK
that allows disabling the GTK single-instance mode.
If this is off, it's possible to start multiple applications from the
same release binary.
Tested like this:
```
$ zig build -Dapp-runtime=gtk -Doptimize=ReleaseFast && ./zig-out/bin/ghostty --gtk-single-instance=false
[... starts new application ...]
```
and
```
$ zig build -Dapp-runtime=gtk -Doptimize=ReleaseFast && ./zig-out/bin/ghostty --gtk-single-instance=true
info: ghostty version=0.1.0-main+42a22893
info: runtime=apprt.Runtime.gtk
info: font_backend=font.main.Backend.fontconfig_freetype
info: dependency harfbuzz=8.0.0
info: dependency fontconfig=21400
info: renderer=renderer.OpenGL
info: libxev backend=main.Backend.io_uring
info(os): LANG is not valid according to libc, will use en_US.UTF-8
info: reading configuration file path=/home/mrnugget/.config/ghostty/config
info(config): default shell source=env value=/usr/bin/zsh
(process:49045): GLib-GIO-WARNING **: 13:55:56.116: Your application did not unregister from D-Bus before destruction. Consider using g_application_run().
[exits]
```
2023-09-05 13:59:07 +02:00
dependabot[bot]
af36a49148
build(deps): bump cachix/install-nix-action from 22 to 23
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 22 to 23.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v22...v23 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 00:35:08 +00:00
dependabot[bot]
025fffbcfd
build(deps): bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 00:35:05 +00:00
Will Pragnell
7d9598fe6e
macos: fix split focus when toggling fullscreen
2023-09-03 22:55:22 -07:00
Mitchell Hashimoto
42a228938f
Merge pull request #403 from mitchellh/prompt-continuation
...
Semantic prompt resize should only clear most recent prompt
2023-09-03 14:07:28 -07:00
Mitchell Hashimoto
f8335c10d8
terminal: disable noisy logs
2023-09-03 14:02:55 -07:00
Mitchell Hashimoto
cdf81b610d
terminal: mark prompt continuation lines, end prompt clear at first
...
prompt
2023-09-03 14:00:56 -07:00
Mitchell Hashimoto
de3d0b4243
terminal: parse semantic prompt "k" (kind) parameter
2023-09-03 13:47:06 -07:00
Mitchell Hashimoto
fe540011d7
Merge pull request #398 from mitchellh/mrn/gtk-readme-notice
...
README: add notice about gtk single instance application
2023-09-03 12:47:10 -07:00