Mitchell Hashimoto
c66273e91c
input: better docs on links
2023-11-29 15:30:23 -08:00
Mitchell Hashimoto
0938a0d638
core: handle URL clicking properly with shift-escaping mouse events
2023-11-29 15:30:23 -08:00
Mitchell Hashimoto
056e96748a
core: don't crash if link processing fails
2023-11-29 15:30:22 -08:00
Mitchell Hashimoto
995e4e3757
os: open
2023-11-29 15:30:22 -08:00
Mitchell Hashimoto
dcbe0b8a5f
core: only update mouse hover point when no other mouse action
2023-11-29 15:30:22 -08:00
Mitchell Hashimoto
8fcf3f08dd
core: send mouse hover point
2023-11-29 15:30:22 -08:00
Mitchell Hashimoto
3a599ec7df
renderer: link sets handle hover links
2023-11-29 15:30:22 -08:00
Mitchell Hashimoto
b94c607256
renderer: matchset tests
2023-11-29 15:30:22 -08:00
Mitchell Hashimoto
5a7596e1b1
renderer: link set for more efficient matching
2023-11-29 15:30:22 -08:00
Mitchell Hashimoto
172a91e95d
core: change mouse cursor over link
2023-11-29 15:30:22 -08:00
Mitchell Hashimoto
20cc369561
core: detect link click
2023-11-29 15:30:22 -08:00
Mitchell Hashimoto
aa86031ff6
terminal: move line searching here, unit test
2023-11-29 15:30:22 -08:00
Mitchell Hashimoto
be05c3af53
input: add Link
2023-11-29 15:30:22 -08:00
Mitchell Hashimoto
5db002cb12
renderer/metal: underline urls
2023-11-29 15:30:21 -08:00
Mitchell Hashimoto
c7ccded359
terminal: Screen.getLine
2023-11-29 15:30:07 -08:00
Mitchell Hashimoto
3aba42c3f7
terminal: stringmaps
2023-11-29 15:30:07 -08:00
Mitchell Hashimoto
0487dbfb25
terminal: selectionString uses arraylist to build results
2023-11-29 15:30:07 -08:00
Mitchell Hashimoto
7fc95690bc
terminal: basic lineIterator on screen
2023-11-29 15:30:07 -08:00
Mitchell Hashimoto
af04d891ff
build: dynamically link oniguruma
2023-11-29 15:29:43 -08:00
Mitchell Hashimoto
b85174c7ac
build: add oniguruma
2023-11-29 15:29:43 -08:00
Mitchell Hashimoto
27585ae18a
pkg/oniguruma: better regex api
2023-11-29 15:29:43 -08:00
Mitchell Hashimoto
364020973c
pkg/oniguruma: search
2023-11-29 15:29:43 -08:00
Mitchell Hashimoto
4d3c7212d8
pkg/oniguruma: init regex object
2023-11-29 15:29:43 -08:00
Mitchell Hashimoto
c0a06ab523
pkg/oniguruma: basic build
2023-11-29 15:29:43 -08:00
Mitchell Hashimoto
af44f5da3b
Merge pull request #964 from mitchellh/dependabot/github_actions/cachix/install-nix-action-24
...
build(deps): bump cachix/install-nix-action from 23 to 24
2023-11-29 09:31:39 -08:00
dependabot[bot]
191c4a061a
build(deps): bump cachix/install-nix-action from 23 to 24
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 23 to 24.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v23...v24 )
---
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-11-29 00:46:10 +00:00
Mitchell Hashimoto
7a9f979646
nix: update zig cache hash
2023-11-28 08:17:47 -08:00
Mitchell Hashimoto
2ee493c972
Merge pull request #942 from mitchellh/themes
...
Built-in Themes (based on iTerm2-Color-Schemes)
2023-11-28 08:13:19 -08:00
Mitchell Hashimoto
dde2339e4d
move back to zig pm
2023-11-28 08:11:34 -08:00
Mitchell Hashimoto
23944265a6
Merge pull request #961 from byildiz/main
...
fix selection clearing after a key press
2023-11-27 13:30:43 -08:00
Burak Yildiz
44a3b22db8
fix selection clearing after a key press
2023-11-27 21:03:24 +01:00
Mitchell Hashimoto
1a813280a2
Merge pull request #959 from vancluever/vancluever-disable-nix-build
...
workflows: disable nix build job
2023-11-25 14:46:41 -08:00
Chris Marchesi
47c249cc30
workflows: disable nix build job
...
Unfortunately building LLVM/Zig is much too slow on default GHA, so we
will need to keep this off until we don't need to do that.
2023-11-25 10:55:44 -08:00
Mitchell Hashimoto
a176f67f22
Merge pull request #951 from vancluever/vancluever-nix-action
...
nix: add GitHub Actions workflow
2023-11-24 20:08:37 -08:00
Chris Marchesi
c3b44020f4
nix: add GitHub Actions workflow
...
This adds a nix workflow that does the following:
* Checks to see if the Zig cache fixed derivation needs its hash
updated. It does this by downloading a new cache, calculating the
hash, and comparing it against what has already been set. If the hash
is different, the workflow fails.
* Runs a Nix build if the hash is OK, testing the build of
packages.ghostty (using "nix build .")
The cache workflow we use in the build job comes from:
https://github.com/DeterminateSystems/magic-nix-cache-action/
Fixes #937 .
2023-11-24 17:07:55 -08:00
Tim Culverhouse
07e6cf900f
key-encode: only set associated text when there is printable text
...
Associated text should only be sent to the terminal when printable text
is generated from the keypress. Prevent sending associated text when any
modifier is pressed, except for Shift, NumLock, and Capslock
This brings Ghostty inline with the output of Kitty.
2023-11-24 14:27:37 -06:00
Mitchell Hashimoto
115e8130ba
Merge pull request #955 from mitchellh/text_action
...
Text action: input any text you want
2023-11-24 10:37:12 -08:00
Mitchell Hashimoto
6fc0d2d4a8
input: allocate for text bindings
2023-11-24 10:36:43 -08:00
Mitchell Hashimoto
0e2970bdeb
config: add string parse, tests
2023-11-24 10:26:55 -08:00
Mitchell Hashimoto
2e02083eef
Revert "parse string literal at load time"
...
This reverts commit 9c3e2b4ddd546e5f0c9d60c25a22bc5ab0be1283.
2023-11-24 10:06:34 -08:00
Guillaume Wenzek
9c3e2b4ddd
parse string literal at load time
2023-11-24 18:15:47 +01:00
Guillaume Wenzek
223accb4c8
add "text" action
2023-11-24 17:53:46 +01:00
Mitchell Hashimoto
07166fc9d2
Merge pull request #954 from mitchellh/kitty-jp
...
input: kitty encoding should ignore committed preedit state
2023-11-24 08:02:16 -08:00
Mitchell Hashimoto
a67d90710c
input: kitty encoding should ignore committed preedit state
...
Fixes #952
2023-11-24 07:58:31 -08:00
Mitchell Hashimoto
bf30c38945
Merge pull request #950 from mitchellh/osc1
...
terminal: implement OSC 1 (change icon) and ignore it
2023-11-23 14:59:26 -08:00
Mitchell Hashimoto
8b09764614
terminal: implement OSC 1 (change icon) and ignore it
...
Fixes #948
We want to parse it so we can log at a lower level than warn but we
don't want to support this because it isn't very well defined.
2023-11-23 14:58:34 -08:00
Mitchell Hashimoto
21ee31a338
Merge pull request #949 from mitchellh/mouse-cursor-key-sel
...
core: clear selection on mouse cursor keys
2023-11-23 14:52:56 -08:00
Mitchell Hashimoto
78420119df
core: clear selection on mouse cursor keys
...
Fixes #939
2023-11-23 14:46:09 -08:00
Mitchell Hashimoto
ed34d24936
Merge pull request #947 from mitchellh/macos-entitlements
...
macos: add entitlements for basically everything so macos asks
2023-11-23 09:01:44 -08:00
Mitchell Hashimoto
499073b540
macos: add entitlements for basically everything so macos asks
...
Fixes #946
The terminal needs entitlements for pretty much everything because
programs running within the terminal may require these and they're
inherited (unfortunately).
2023-11-23 09:00:20 -08:00