3918 Commits

Author SHA1 Message Date
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
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
Mitchell Hashimoto
f3140e1cf8 Merge pull request #945 from mitchellh/binding-event
core: do not send repeat/release events if the press consumed a binding
2023-11-23 08:50:37 -08:00
Mitchell Hashimoto
b34e0f6ec7 core: do not send repeat/release events if the press consumed a binding
Fixes #943
2023-11-23 08:40:52 -08:00
Mitchell Hashimoto
b01264d6b7 Merge pull request #944 from vancluever/vancluever-font-face-powerline
font/sprite: add Powerline face
2023-11-23 08:12:13 -08:00
Chris Marchesi
e0d458004f font/sprite: add Powerline face
This adds the Powerline face to our set of built-in faces, which
represents glyphs that are used to draw Powerline-style shell prompts
and status lines.

Since these are used similar to box-drawing characters, alignment is
important, and this gives us the most control in preventing related
artifacts.

This initial commit is scaffolding and support for the various solid
triangles - additional glyphs will come in other commits.

Fixes #675.
2023-11-23 01:29:12 -08:00
Mitchell Hashimoto
4be994c58a update README 2023-11-22 22:27:14 -08:00
Mitchell Hashimoto
dead82bcf1 update README to cover themes 2023-11-22 22:25:58 -08:00
Mitchell Hashimoto
5acaf3279d apprt/gtk: use new resources dir 2023-11-22 22:10:16 -08:00
Mitchell Hashimoto
c7a1e074dd don't use package manager for iterm2 themes yet 2023-11-22 22:08:27 -08:00
Mitchell Hashimoto
f25a136ea5 cli: +list-themes 2023-11-22 21:50:16 -08:00
Mitchell Hashimoto
84e71c8c1f config: update themes docs 2023-11-22 21:38:05 -08:00
Mitchell Hashimoto
a6457c2c1c macos: copy themes 2023-11-22 21:37:59 -08:00