1130 Commits

Author SHA1 Message Date
Mitchell Hashimoto
611760f98b ability to customize cursor color 2022-11-20 20:35:20 -08:00
Mitchell Hashimoto
2e74b7af9e ability to set selection fg/bg colors 2022-11-20 20:27:12 -08:00
Mitchell Hashimoto
c2e2f69989 change config write to be debug 2022-11-20 20:17:05 -08:00
Mitchell Hashimoto
a15afa8211 do not block channel send while draining channel 2022-11-20 20:16:40 -08:00
Mitchell Hashimoto
d213c1a939 fix selection regression caused by screen copy optimization 2022-11-20 20:05:07 -08:00
Mitchell Hashimoto
7c17497623 test that quoting config values is okay 2022-11-20 19:37:23 -08:00
Mitchell Hashimoto
23142e2ea6 config file allows and ignores empty lines, supports comments 2022-11-20 19:31:34 -08:00
Mitchell Hashimoto
01573819ea Configurable 256 Color Palette (#50)
The 256 color palette can now be configured with the `palette=N=HEX` format in the config. Example, Dracula:

```
foreground=#f8f8f2
background=#282a36
palette=0=#21222c
palette=8=#6272a4
palette=1=#ff5555
palette=9=#ff6e6e
palette=2=#50fa7b
palette=10=#69ff94
palette=3=#f1fa8c
palette=11=#ffffa5
palette=4=#bd93f9
palette=12=#d6acff
palette=5=#ff79c6
palette=13=#ff92df
palette=6=#8be9fd
palette=14=#a4ffff
palette=7=#f8f8f2
palette=15=#ffffff
```
2022-11-20 15:25:51 -08:00
Mitchell Hashimoto
89834c1412 manually focus next window on macOS <= 12
Closes #41
2022-11-20 09:31:57 -08:00
Mitchell Hashimoto
688ec71a74 don't change cursor to ibeam on macOS prior to Ventura
glfw crashes with our tab group usage (see comment)
2022-11-20 09:03:28 -08:00
Mitchell Hashimoto
1bce3d8e72 pkg/objc: make ptrcast var so that LLVM backend sees sig 2022-11-20 08:19:50 -08:00
Mitchell Hashimoto
30d62fc144 workaround for x86_64 ABI issue: https://github.com/ziglang/zig/issues/13598 2022-11-19 22:07:48 -08:00
Mitchell Hashimoto
2100523822 pkg/objc: correct objc_msgSend call on x86_64 depending on return type
On x86_64, we have to use specialized forms of `objc_msgSend` depending
on the return type (and the byte size of the return type). If we don't
do this, the calling convention is wrong and we'll get a segfault when
objc_msgSend tries to read a register that is [rightly] not set.

On aarch64, we do not have this issue because the calling convention is
different and objc_msgSend handles all cases.
2022-11-19 21:45:38 -08:00
Mitchell Hashimoto
02b6eb123e fix test name 2022-11-18 18:18:10 -08:00
Mitchell Hashimoto
dbf167d18a OSC parsing for get/set clipboard (OSC 52) -- not hooked up yet 2022-11-18 18:16:53 -08:00
Mitchell Hashimoto
3de68e1d7a fix memory leaks with metal resources and multi-window/tab 2022-11-18 14:25:02 -08:00
Mitchell Hashimoto
a714ee2702 fix memory leak when grapheme clusters of >4 codepoints are present 2022-11-18 14:15:14 -08:00
Mitchell Hashimoto
0336cab2a3 Merge pull request #48 from mitchellh/render-pass
Multi-Pass Rendering for Backgrounds
2022-11-18 14:01:46 -08:00
Mitchell Hashimoto
da5164a539 metal: implement two-pass render for bg 2022-11-18 13:54:45 -08:00
Mitchell Hashimoto
ed56d2c2ab opengl: render bg in a separate pass 2022-11-18 13:24:04 -08:00
Mitchell Hashimoto
f64795dc9d opengl: culling is not necessary 2022-11-18 10:10:16 -08:00
Mitchell Hashimoto
b51fe2a24a Merge pull request #47 from mitchellh/anubhavmishra-patch-1
Update README.md
2022-11-18 10:08:32 -08:00
Anubhav Mishra
13f08f41be Update README.md 2022-11-18 23:37:59 +05:30
Mitchell Hashimoto
319531a325 Merge pull request #46 from mitchellh/anubhavmishra/readme-update
Update README.md
2022-11-18 10:06:35 -08:00
Anubhav Mishra
4ef0d3b09e Update README.md 2022-11-18 23:33:45 +05:30
Mitchell Hashimoto
8071836a57 Always send mouse events 2022-11-17 16:18:17 -08:00
Mitchell Hashimoto
08bca077b2 search for unknown codepoints in any available font face
If an unknown codepoint is rendered, we now will query the OS for ANY
font that can satisfy the codepoint (rather than rendering `?`).
2022-11-17 16:09:33 -08:00
Mitchell Hashimoto
da2942e083 font: specific codepoint lookup in internals 2022-11-17 15:49:14 -08:00
Mitchell Hashimoto
b91cd8e41c pkg/macos: character set in range 2022-11-17 15:15:09 -08:00
Mitchell Hashimoto
843dc8ae14 pkg/macos: support CFCharacterSet 2022-11-17 15:09:53 -08:00
Mitchell Hashimoto
7703873142 pkg/fontconfig: charset can add chars 2022-11-17 14:37:36 -08:00
Mitchell Hashimoto
8f9da82754 Embed nerd fonts into our default font 2022-11-17 14:16:50 -08:00
Mitchell Hashimoto
4521efb83d move screen resize to a renderer mailbox message 2022-11-17 13:55:04 -08:00
Mitchell Hashimoto
fc18be5d32 release-tip should update the SHA 2022-11-17 12:15:23 -08:00
Mitchell Hashimoto
e78d41eee0 Update README.md 2022-11-17 12:10:40 -08:00
Mitchell Hashimoto
7a23c24211 fix skip on tip release 2022-11-17 11:44:40 -08:00
Mitchell Hashimoto
81bdeb2045 try again (noise) 2022-11-17 11:30:29 -08:00
Mitchell Hashimoto
f8ddeb35af release-tip manual 2022-11-17 11:28:25 -08:00
Mitchell Hashimoto
a309be738a release-tip can be dispatched 2022-11-17 11:27:08 -08:00
Mitchell Hashimoto
2d3126ffb7 release-tip workflow (wip) 2022-11-17 11:24:12 -08:00
Mitchell Hashimoto
7a2c551d60 Merge pull request #39 from mitchellh/dependabot/github_actions/cachix/install-nix-action-18
Bump cachix/install-nix-action from 17 to 18
2022-11-17 10:23:01 -08:00
Mitchell Hashimoto
ad433d490c Merge pull request #38 from mitchellh/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2022-11-17 10:22:48 -08:00
dependabot[bot]
b1f64af767 Bump cachix/install-nix-action from 17 to 18
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 17 to 18.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v17...v18)

---
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>
2022-11-17 18:22:09 +00:00
dependabot[bot]
cc07d6ba62 Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-17 18:22:02 +00:00
Mitchell Hashimoto
055808be2b Create dependabot.yml 2022-11-17 10:21:31 -08:00
Mitchell Hashimoto
6ac00e43bd Merge pull request #37 from mitchellh/mac-tab
Mac: Tabbing
2022-11-16 21:25:43 -08:00
Mitchell Hashimoto
30f8b55ed4 update TODO 2022-11-16 21:21:00 -08:00
Mitchell Hashimoto
357ad43656 app: deinit darwin info 2022-11-16 21:20:04 -08:00
Mitchell Hashimoto
b4d5901225 update some docs 2022-11-16 21:18:37 -08:00
Mitchell Hashimoto
8ac90d33e6 new_tab action 2022-11-16 21:17:41 -08:00