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
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
Jeffrey C. Ollie
3d6ca14dc6
make quit-after-last-window-closed-delay an optional
2024-08-01 10:51:08 -05: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
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
Mitchell Hashimoto
079420730a
renderer/metal: address some todos
2024-07-29 10:55:50 -07:00
Mitchell Hashimoto
359458b96a
terminal/kitty: switch to new placement math
2024-07-29 10:52:10 -07:00
Mitchell Hashimoto
0ebf14fd44
terminal/kitty: working on moving placement math here for testing
2024-07-29 10:39:18 -07:00
Mitchell Hashimoto
4bf8d30b44
renderer/metal: rewrite kitty placeholder handling
2024-07-29 09:35:51 -07:00
Justin Su
32961d3e97
Use Surface.hasSelection()
2024-07-28 19:43:36 -04:00
Mitchell Hashimoto
874c4e13d2
Merge pull request #2008 from ghostty-org/hlpin
...
terminal: cursorChangePin needs to migrate hyperlink state
2024-07-28 14:20:45 -07:00
Mitchell Hashimoto
6d2e97a2f1
terminal: cursorChangePin needs to migrate hyperlink state
...
Fixes #2007
2024-07-28 14:17:38 -07:00
Mitchell Hashimoto
4bbb5d9c86
Merge pull request #2003 from injust/patch-1
...
Update docs for `window-padding-x/y`
2024-07-28 07:06:22 -07:00
Mitchell Hashimoto
cb9e7ab548
adjust_selection keybind should not be consumed if no selection
2024-07-27 21:32:52 -07:00
Justin Su
898bffb6e5
Update docs for window-padding-x/y
2024-07-26 16:23:03 -04:00
Mitchell Hashimoto
6668930b96
terminal: appendGrapheme should text for codepoint, not text
2024-07-26 12:24:35 -07:00
Mitchell Hashimoto
a5d39103c9
renderer/metal: calculate proper grid offsets for image
2024-07-26 12:21:37 -07:00
Mitchell Hashimoto
14e44fa2a8
Merge pull request #1999 from qwerasd205/multi-custom-shader
...
renderer/metal: use swap chain for custom shader passes
2024-07-26 09:37:32 -07:00
Mitchell Hashimoto
3d4dd5277e
renderer/metal: virtual placements are kind of rendering
2024-07-25 22:08:02 -07:00
Mitchell Hashimoto
d6d95209c6
renderer/metal: extract out some image placement logic
2024-07-25 21:35:38 -07:00
Mitchell Hashimoto
266033670d
terminal/kitty: support cells with no diacritics
2024-07-25 21:32:45 -07:00
Mitchell Hashimoto
3549619a64
terminal: introduce row bit for kitty virtual placeholders
2024-07-25 21:32:45 -07:00
Mitchell Hashimoto
91a6e70d1b
terminal/kitty: extra placement tests
2024-07-25 21:32:45 -07:00
Mitchell Hashimoto
1786502f15
terminal/kitty: working runs
2024-07-25 21:32:45 -07:00
Mitchell Hashimoto
cf6463fec0
terminal/kitty: preparing to build runs of placements
2024-07-25 21:32:44 -07:00
Mitchell Hashimoto
7c6ae90300
terminal/kitty: implement high bit image id parsing
2024-07-25 21:32:44 -07:00
Mitchell Hashimoto
578bfc8d23
terminal/kitty: parse image/placement id from style
2024-07-25 21:32:44 -07:00
Mitchell Hashimoto
13df93a1d0
temrinal/kitty: really basic row/col diacritic decoding
2024-07-25 21:32:44 -07:00
Mitchell Hashimoto
e656fe3b79
terminal/kitty: starting virtual placement iterator
2024-07-25 21:32:44 -07:00
Mitchell Hashimoto
deacb10fb1
terminal: print must use codepoint() now to work with placeholders
2024-07-25 21:32:44 -07:00
Mitchell Hashimoto
bb1a9bf532
terminal/kitty: rename diacritics to unicode
2024-07-25 21:32:44 -07:00
Mitchell Hashimoto
f71afcab95
terminal/kitty: diacritic small tests
2024-07-25 21:32:44 -07:00