6745 Commits

Author SHA1 Message Date
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
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
Mitchell Hashimoto
358b4ca896 terminal/kitty: parse relative placement fields 2024-07-25 21:32:44 -07:00
Mitchell Hashimoto
2c0f9bfc28 terminal: cell returns empty for Kitty placeholder
So we don't render the replacement char
2024-07-25 21:32:44 -07:00
Mitchell Hashimoto
763e7fab8a renderer: skip virtual placements 2024-07-25 21:32:44 -07:00
Mitchell Hashimoto
7d9e50353b terminal/kitty: add virtual placeholders placements 2024-07-25 21:32:44 -07:00