5208 Commits

Author SHA1 Message Date
Krzysztof Wolicki
edaafdf57a build API change: update usage of addCSourceFiles 2024-02-26 18:00:43 +01:00
Mitchell Hashimoto
3587ca5c65 Merge pull request #1544 from ProfOak/linux-specific-paste-selection
Move selection paste to linux config section
2024-02-24 13:38:00 -08:00
Mitchell Hashimoto
a4ba66133b Merge pull request #1551 from mitchellh/update-zig
update zig version
2024-02-24 13:36:03 -08:00
Mitchell Hashimoto
0d27565704 update zig version 2024-02-24 13:26:55 -08:00
Mitchell Hashimoto
feb47a524b Merge pull request #1548 from em-dash/underline-math-crash
Fix crash in underline drawing math
2024-02-24 13:23:36 -08:00
Mitchell Hashimoto
796d1312ff font/sprite: rect must be smaller than canvas dims 2024-02-24 13:19:49 -08:00
Mitchell Hashimoto
759c8cddb4 font/sprite: test for thick underline, assertion on x/y for rect 2024-02-24 09:30:04 -08:00
em-dash
0f19251aa6 fix crash in underline drawing math 2024-02-24 20:49:51 +11:00
ProfOak
f7911937ec Move selection paste to linux config section 2024-02-21 22:37:05 -06:00
Mitchell Hashimoto
a0c43a8566 Merge pull request #1542 from ProfOak/paste-on-selection
Add keybind support for shift+insert selection paste
2024-02-21 19:27:31 -08:00
Mitchell Hashimoto
09c765f42a Merge pull request #1543 from rockorager/osc4-done
terminfo: remove completed todo
2024-02-21 18:35:56 -08:00
Tim Culverhouse
534f97dff0 terminfo: remove completed todo
OSC4 has been implemented. Remove this todo
2024-02-21 20:21:59 -06:00
ProfOak
96daf97d19 Add keybind support for shift+insert selection paste 2024-02-21 19:33:05 -06:00
Mitchell Hashimoto
fdfa596fdf Merge pull request #1528 from der-teufel-programming/fix-compress
Update to new compress.zlib API
2024-02-21 10:20:27 -08:00
Chris Marchesi
7cca274650 nix: update nixpkgs-zig-0-12
This updates the nixpkgs-zig-0-12 to be in line with the current overlay
Zig (0.12.0-dev.2818+97290e0bf).
2024-02-21 09:28:21 -08:00
Mitchell Hashimoto
d92beab1d8 update zig version 2024-02-20 16:43:25 -08:00
Krzysztof Wolicki
4add6889d8 Update to new compress.zlib API 2024-02-20 16:43:02 -08:00
Mitchell Hashimoto
105817cbe7 Merge pull request #1540 from mitchellh/aarch64
ci: add aarch64 nix builds
2024-02-20 12:00:18 -08:00
Mitchell Hashimoto
6440e5b171 ci: add aarch64 nix builds 2024-02-20 11:07:04 -08:00
Mitchell Hashimoto
83f53415f3 Merge pull request #1538 from mitchellh/kitty-dirty
kitty-gfx: deletion should mark image state dirty to force redraw
2024-02-18 19:48:15 -08:00
Mitchell Hashimoto
793b657ca8 kitty-gfx: deletion should mark image state dirty to force redraw
Fixes #1537
2024-02-18 19:45:18 -08:00
Mitchell Hashimoto
2b035ef1ee Merge pull request #1535 from gpanders/kitty-fix
Omit release events for backspace, enter, and tab when report_all is not set
2024-02-18 08:07:48 -08:00
Mitchell Hashimoto
77587766d4 Merge pull request #1534 from gpanders/update-zig
Update minimum Zig version in build.zig
2024-02-18 08:07:09 -08:00
Gregory Anders
4df6b36713 Update minimum Zig version in build.zig
This is the version required to use the new std.os.O struct format from
https://github.com/mitchellh/ghostty/pull/1509.
2024-02-18 09:43:13 -06:00
Gregory Anders
cff9671bdf Omit release events for backspace, enter, and tab if report_all is unset 2024-02-18 09:43:05 -06:00
Mitchell Hashimoto
396899a3a9 Merge pull request #1533 from mitchellh/shift-csi
input: encode ctrl+shift+<ascii letter> in CSIu as lowercase + shift
2024-02-17 13:53:33 -08:00
Mitchell Hashimoto
1170cee550 input: encode ctrl+shift+<ascii letter> in CSIu as lowercase + shift
This follows a specific behavior Kitty has, but no other terminal seems
to have, but it is a reasonable behavior that is in use by real programs
as found by our beta testing community.

We diverge from Kitty though in that we only apply this to ASCII
letters. Kitty does not CSIu encode special characters like `@` or `$`.
For these characters, Ghostty still encodes it as specified by fixterms.
2024-02-17 13:45:49 -08:00
Mitchell Hashimoto
4c4d01edc9 Merge pull request #1531 from mitchellh/shifted
input: send shifted uppercase ASCII letters as CSIu
2024-02-17 11:22:21 -08:00
Mitchell Hashimoto
678c601daf Merge pull request #1532 from codersauce/fix-config-docs
docs: correct MacOS location for themes on config docs
2024-02-17 11:20:51 -08:00
Mitchell Hashimoto
4a6ba59f73 input: send shifted uppercase ASCII letters as CSIu
Related to #1507

The comments in this change have most of the detail. The primary gist:

  - caps-lock is handled correctly so #1501 is still fixed
  - only characters pressed with the shift key are affected
2024-02-17 08:39:27 -08:00
Felipe Coury
733f4464c3 docs: correct MacOS location for themes on config docs 2024-02-17 10:53:27 -03:00
Mitchell Hashimoto
7cc9ea02c4 Merge pull request #1526 from tt/avoid-repainting-new-tab-button-for-native-tab-bar
Avoid repainting new tab button for native tab bar
2024-02-16 13:59:55 -08:00
Mitchell Hashimoto
f7a9879579 build: fix issue for long branch names 2024-02-16 13:59:42 -08:00
Troels Thomsen
a874280e4b Avoid repainting new tab button for native tab bar 2024-02-16 13:57:11 -08:00
Mitchell Hashimoto
5db59ebb64 Merge pull request #1527 from tt/set-background-color-in-title-bar-tab-mode-only
Set background color in title bar tab mode only
2024-02-16 13:55:32 -08:00
Mitchell Hashimoto
9e4cd0b51c macos: minor reordering 2024-02-16 13:55:09 -08:00
Mitchell Hashimoto
c4f00fd6a8 Merge pull request #1529 from ryanccn/docs-keybind-text
docs: document the `text` action for `keybind`
2024-02-16 13:52:26 -08:00
Troels Thomsen
3bf18560bb Set background color in title bar tab mode only 2024-02-16 21:53:26 +01:00
Troels Thomsen
05fe0e830b Correct grammatical mistake 2024-02-16 21:52:46 +01:00
Ryan Cao
56ebc78b8a docs: document the text action for keybind 2024-02-16 17:40:43 +08:00
Troels Thomsen
41e94cf0be Remove trailing whitespace 2024-02-15 23:39:14 +01:00
Mitchell Hashimoto
8b8cbcbfc9 update README to note macOS SDKs needed 2024-02-14 08:57:04 -08:00
Mitchell Hashimoto
63ca2c0f0c pkg/apple-sdk: more descriptive error when SDK not found 2024-02-14 08:56:11 -08:00
Mitchell Hashimoto
3d26d3813d Merge pull request #1522 from mitchellh/metal-occlusion
macOS: send occluded state to renderers, trigger draw on visible
2024-02-13 22:02:00 -08:00
Mitchell Hashimoto
239a517710 Revert "renderer/metal: start extracting "visible" resources"
This reverts commit 0c1d288142a0d0bf31be13999e89bdc08bd18fb9.
2024-02-13 21:57:55 -08:00
Mitchell Hashimoto
387e5b242e Revert "renderer/metal: cache buf cells"
This reverts commit 9f6db11b95f1bfed79f9b653f2ffb2be81cfc158.
2024-02-13 21:57:50 -08:00
Mitchell Hashimoto
b602eba61b Revert "renderer/metal: move shaders to cached state"
This reverts commit bef83446d1cff42946c2a242e3c645350d00c574.
2024-02-13 21:57:49 -08:00
Mitchell Hashimoto
e10e45a935 Revert "renderer/metal: free resources when occluded"
This reverts commit b5d543705de4ea42407db9e2d49ae03f3ae5cf14.
2024-02-13 21:57:46 -08:00
Mitchell Hashimoto
b5d543705d renderer/metal: free resources when occluded 2024-02-13 20:07:41 -08:00
Mitchell Hashimoto
bef83446d1 renderer/metal: move shaders to cached state 2024-02-13 19:37:10 -08:00