1297 Commits

Author SHA1 Message Date
Mitchell Hashimoto
a63815c5ba selectWord goes across soft-wrapped lines 2022-11-22 08:04:27 -08:00
Mitchell Hashimoto
f7c6ea63e1 screen selectWord starting functionality, not done at all 2022-11-21 21:34:38 -08:00
Mitchell Hashimoto
804d4534cd window detects double and triple clicks 2022-11-21 20:42:29 -08:00
Mitchell Hashimoto
acdbdfbe3f macOS should launch shell as a login shell 2022-11-21 15:57:51 -08:00
Mitchell Hashimoto
56de5846f4 OSC 52: Clipboard Control (#52)
This adds support for OSC 52 -- applications can read/write the clipboard. Due to the security risk of this, the default configuration allows for writing but _not reading_. This is configurable using two new settings: `clipboard-read` and `clipboard-write` (both booleans).
2022-11-21 15:12:00 -08:00
Mitchell Hashimoto
173aff1e80 update README 2022-11-21 13:39:07 -08:00
Mitchell Hashimoto
a3412fe9ab ci: notarize 2022-11-21 13:13:04 -08:00
Mitchell Hashimoto
f6dd40f854 ci: set executable bit for binary 2022-11-21 11:44:03 -08:00
Mitchell Hashimoto
b44537d198 ci: macos 12 2022-11-21 11:29:30 -08:00
Mitchell Hashimoto
b05aab7ac6 ci: try macos 12 2022-11-21 11:15:45 -08:00
Mitchell Hashimoto
a45c8c1f7e ci: release into zig-out 2022-11-21 10:48:53 -08:00
Mitchell Hashimoto
7d81013d56 ci: release will always do unsigned first 2022-11-21 10:33:12 -08:00
Mitchell Hashimoto
cd7a126015 sign release bundle 2022-11-21 10:16:36 -08:00
Mitchell Hashimoto
12e9b7cda0 ci: release should update tip tag 2022-11-21 09:44:06 -08:00
Mitchell Hashimoto
9b0fbde838 put some config in the devmode UI 2022-11-21 09:09:25 -08:00
Mitchell Hashimoto
b4f5107717 config files allow spaces around "=" 2022-11-21 08:22:04 -08:00
Mitchell Hashimoto
21455ea254 update TODO 2022-11-20 20:39:11 -08:00
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