Mitchell Hashimoto
c5e2889369
config: clarify comment
2024-08-03 09:50:39 -07:00
Mitchell Hashimoto
e62bdbf8b7
config: duration prevents overflow, added tests
2024-08-03 09:48:40 -07:00
Jeffrey C. Ollie
b87667c950
document behavior when no initial window is created and a quit delay is set
2024-08-02 16:17:10 -05:00
Jeffrey C. Ollie
0e533af21a
add a warning if quit delay too short
2024-08-02 15:43:40 -05:00
Jeffrey C. Ollie
d243ad6616
add a standard zig formatter to Duration and more testing
2024-08-02 15:43:37 -05:00
Jeffrey C. Ollie
cf515c80d0
fix off-by-one error
2024-08-02 15:43:31 -05:00
Jeffrey C. Ollie
3aa1989620
make Duration units a struct field to reduce duplication and enable table-driven unit tests
2024-08-02 10:47:47 -05:00
Jeffrey C. Ollie
3a4b236e6d
re-use code to cancel old timer
2024-08-02 10:24:17 -05:00
Mitchell Hashimoto
2f373bb443
Merge pull request #2030 from jcollie/list-actions
...
Add +list-actions CLI action to list keybind actions.
2024-08-01 20:12:43 -07:00
Mitchell Hashimoto
c5d03bbbd6
comment
2024-08-01 20:12:22 -07:00
Mitchell Hashimoto
5a4eb43582
Merge pull request #2031 from jcollie/cgroup-typo
...
fix typo
2024-08-01 20:10:09 -07:00
Jeffrey C. Ollie
38e9847bd2
fix typo
2024-08-01 19:48:00 -05:00
Jeffrey C. Ollie
c5e9913def
Add +list-actions CLI action to list keybind actions.
2024-08-01 18:57:37 -05:00
Mitchell Hashimoto
f5f7eccfb1
Merge pull request #2029 from ghostty-org/macos-reset
...
macos: add "Reset Terminal" context menu option
2024-08-01 15:08:32 -07:00
Mitchell Hashimoto
9785130c03
macos: add "Reset Terminal" context menu option
2024-08-01 14:58:03 -07:00
Mitchell Hashimoto
9528978488
Merge pull request #2014 from jcollie/gtk-context-menu-additions
...
Additions to GTK context menu
2024-08-01 14:54:49 -07:00
Mitchell Hashimoto
99b1b6305f
reset only
2024-08-01 14:54:39 -07:00
Jeffrey C. Ollie
ec0f90d1b6
Improve quit timers.
...
Instead of "polling" to see if a quit timer has expired, start a single
timer that expires after the confiugred delay when no more surfaces are
open. That timer can be cancelled if necessary.
2024-08-01 14:49:02 -05:00
Mitchell Hashimoto
a5ddf57d4c
nix: update hash
2024-08-01 10:30:57 -07:00
Mitchell Hashimoto
ffbd91be9a
update libxev to fix mach port leakage
...
Fixes #2005
2024-08-01 10:28:26 -07:00
Mitchell Hashimoto
c8e94a5553
nix: update hash
2024-08-01 10:15:14 -07:00
Mitchell Hashimoto
ee7200d5ff
update libxev
2024-08-01 10:13:18 -07:00
Mitchell Hashimoto
089b0e6881
Merge pull request #2028 from ghostty-org/leak
...
core: surface needs to free link regex on config reload
2024-08-01 10:00:25 -07:00
Mitchell Hashimoto
918a32dcf7
core: surface needs to free link regex on config reload
2024-08-01 09:41:48 -07:00
Jeffrey C. Ollie
3d6ca14dc6
make quit-after-last-window-closed-delay an optional
2024-08-01 10:51:08 -05:00
Mitchell Hashimoto
6be53cc63a
Merge pull request #2026 from ghostty-org/gtk-follow
...
apprt/gtk: ignore mouse movement if no actual movement occurs
2024-08-01 06:29:12 -07:00
Mitchell Hashimoto
e25997ad58
apprt/gtk: ignore mouse movement if no actual movement occurs
...
Fixes #2022
See comment
2024-08-01 06:25:10 -07:00
Jeffrey C. Ollie
143e503d43
gtk: allow running in the background
...
This patch fixes #2010 by implementing `quit-after-last-window-closed`
for the GTK apprt. It also adds the ability for the GTK apprt to exit
after a delay once all surfaces have been closed and adds the ability to
start Ghostty without opening an initial window.
2024-08-01 01:25:17 -05:00
Mitchell Hashimoto
4cf620296f
Merge pull request #2020 from ghostty-org/mouse
...
core: avoid mouse report when mods change without mouse event
2024-07-31 21:35:02 -07:00
Mitchell Hashimoto
ad6a5e7aef
core: avoid mouse report when mods change without mouse event
...
Fixes #2018
We should avoid mouse reports when we have a key event without an
associated mouse event (button or move). This is how xterm behaves and
we should match it.
Our approach to doing this is very hacky so I commented why and we can
hopefully clean all this up in the future.
2024-07-31 21:30:02 -07:00
Mitchell Hashimoto
b78c544088
Merge pull request #2019 from ghostty-org/configload
...
config: introduce config-default-files to skip loading default files
2024-07-31 21:06:11 -07:00
Mitchell Hashimoto
8ceff43a31
config: introduce config-default-files to skip loading default files
...
This is a CLI-only config. This is the first such config. I am only
pointing this out since it is a new pattern for Ghostty.
By specifying `--config-default-files=false`, Ghostty will discard any
configuration set in the default files it loads. This makes running
Ghostty from the CLI easier if you want to "reset" the configuration to
the "factory defaults."
2024-07-31 21:01:33 -07:00
Mitchell Hashimoto
62cc279fc0
Merge pull request #1989 from gpanders/cursor-invert-fg-bg
...
config: add cursor-invert-fg-bg option
2024-07-31 19:39:27 -07:00
Mitchell Hashimoto
fa42cf5f2b
Merge pull request #2009 from injust/use-has-selection
...
Use `Surface.hasSelection()`
2024-07-31 19:30:46 -07:00
Mitchell Hashimoto
d37c529308
update comments
2024-07-31 19:30:27 -07:00
Mitchell Hashimoto
85f21b4120
Merge pull request #2017 from ghostty-org/dependabot/github_actions/namespacelabs/nscloud-cache-action-1.1.6
...
build(deps): bump namespacelabs/nscloud-cache-action from 1.1.5 to 1.1.6
2024-07-31 19:06:40 -07:00
dependabot[bot]
1d9e62de35
build(deps): bump namespacelabs/nscloud-cache-action from 1.1.5 to 1.1.6
...
Bumps [namespacelabs/nscloud-cache-action](https://github.com/namespacelabs/nscloud-cache-action ) from 1.1.5 to 1.1.6.
- [Release notes](https://github.com/namespacelabs/nscloud-cache-action/releases )
- [Commits](https://github.com/namespacelabs/nscloud-cache-action/compare/v1.1.5...v1.1.6 )
---
updated-dependencies:
- dependency-name: namespacelabs/nscloud-cache-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-01 00:22:31 +00:00
Mitchell Hashimoto
68c7041f83
Merge pull request #2016 from b-/docs/its-to-it's
...
its → it's
2024-07-31 09:58:20 -07:00
Mitchell Hashimoto
09e367fe09
Merge pull request #2015 from ghostty-org/kitty-unicode
...
Kitty Graphics Unicode Placeholders
2024-07-31 09:56:12 -07:00
Mitchell Hashimoto
d40101fea0
terminal: more tests
2024-07-31 09:51:32 -07:00
Mitchell Hashimoto
2c4ddc594e
terminal: reflow tests for kitty virtual placeholder flag
2024-07-31 09:48:00 -07:00
bri
b371056bfb
its → it's
2024-07-30 13:44:53 -04:00
Mitchell Hashimoto
a1276b3cc3
terminal/kitty: delete all images ignores virtual placements
2024-07-29 19:37:47 -07:00
Mitchell Hashimoto
765254e784
renderer/opengl: unicode placeholder support
2024-07-29 19:15:42 -07:00
Mitchell Hashimoto
bf30753657
terminal/kitty: handle case where both offsets are in one grid cell
2024-07-29 18:57:31 -07:00
Mitchell Hashimoto
d510bb4497
terminal/kitty: adjust middle rows for image offsets
2024-07-29 17:26:57 -07:00
Mitchell Hashimoto
0c81ca44b8
terminal/kitty: do not render blank virtual placement cells
2024-07-29 14:52:09 -07:00
Mitchell Hashimoto
39b915ac25
terminal/kitty: handle width-stretched
2024-07-29 14:42:27 -07:00
Mitchell Hashimoto
77ee2f413c
terminal: hasText no longer special cases kitty placeholders
2024-07-29 14:36:49 -07:00
Mitchell Hashimoto
5e9b871028
terminal/kitty: unit tests for unicode placements
2024-07-29 14:15:51 -07:00