2094 Commits

Author SHA1 Message Date
Mitchell Hashimoto
2c9b3e2f9b wedge triangles 2022-11-25 15:02:12 -08:00
Mitchell Hashimoto
7676c1c52b sextants 2022-11-25 14:41:17 -08:00
Mitchell Hashimoto
781571d7fb braille 2022-11-25 14:26:19 -08:00
Mitchell Hashimoto
43c89cb449 more glyphs 2022-11-25 14:10:31 -08:00
Mitchell Hashimoto
353172199a lot more boxes 2022-11-25 13:53:24 -08:00
Mitchell Hashimoto
f727b30ca6 more box fonts 2022-11-25 13:36:26 -08:00
Mitchell Hashimoto
179f5e6283 opengl: continue rendering if single cell has error 2022-11-25 13:16:07 -08:00
Mitchell Hashimoto
8ad5dd1853 arc glyphs 2022-11-25 13:04:44 -08:00
Mitchell Hashimoto
72cd107e6a many more boxes 2022-11-25 10:57:38 -08:00
Mitchell Hashimoto
ef16ba263f 16 more 2022-11-25 10:40:33 -08:00
Mitchell Hashimoto
58292e5930 16 more 2022-11-24 12:01:15 -08:00
Mitchell Hashimoto
dcd16c4d95 16 more 2022-11-24 11:49:17 -08:00
Mitchell Hashimoto
d8561ba23a 16 more 2022-11-24 11:27:32 -08:00
Mitchell Hashimoto
8033a4a665 more 2022-11-24 11:16:22 -08:00
Mitchell Hashimoto
3b3c93af02 metal: support for box glyphs 2022-11-24 10:21:28 -08:00
Mitchell Hashimoto
fc8f36a59e more glyphs for the glyph god 2022-11-24 10:21:28 -08:00
Mitchell Hashimoto
6e30238d36 more... more... 2022-11-24 10:21:27 -08:00
Mitchell Hashimoto
fbd5eba11a font: more box glyphs 2022-11-24 10:21:27 -08:00
Mitchell Hashimoto
cb8f55229b remove test code 2022-11-24 10:21:27 -08:00
Mitchell Hashimoto
6b2ca86ed8 fix offset for box glyphs 2022-11-24 10:21:27 -08:00
Mitchell Hashimoto
b9f97217ab font: shaper handles special fonts 2022-11-24 10:21:27 -08:00
Mitchell Hashimoto
9bc8d85d67 test rendering box glyphs, looks OKAY 2022-11-24 10:21:27 -08:00
Mitchell Hashimoto
4b8b5c5fc1 font: skeleton for box drawing and hook up to Group 2022-11-24 10:21:27 -08:00
Mitchell Hashimoto
ca97c63a65 font: detect box glyphs, start littering stuff to denote special fonts 2022-11-24 10:21:27 -08:00
Mitchell Hashimoto
84b1ae9a3c set IUTF8 on the pty
This is important on Mac since the pty by default on Mac does NOT have
this enabled. Without this, attempting to read/write UTF-8 characters
in the raw pty layer would sometimes turn into '?' even though ghostty
fully supports it.
2022-11-24 10:20:18 -08:00
Mitchell Hashimoto
70b017200a copying selection trims trailing whitespace
This is configurable with `clipboard-trim-trailing-spaces`.

This also fixes a bug where debug builds would crash when copying blank
lines. This never affected release builds.
2022-11-22 21:27:05 -08:00
Mitchell Hashimoto
03fdb38a96 moving the mouse too far between clicks will reset the click count 2022-11-22 20:59:15 -08:00
Mitchell Hashimoto
66078493e6 mac: get default click repeat interval from NSEvent 2022-11-22 11:20:00 -08:00
Mitchell Hashimoto
29b651ee46 configurable click interval with click-repeat-interval 2022-11-22 10:57:57 -08:00
Mitchell Hashimoto
cc4ba96970 hide imgui demo window 2022-11-22 10:57:09 -08:00
Mitchell Hashimoto
ad79a8585d Merge pull request #54 from mitchellh/multiclick
Double/Triple-click selects word and lines respectively
2022-11-22 10:18:12 -08:00
Mitchell Hashimoto
d1b565f4d4 hook up triple-click in UI to select lines 2022-11-22 10:07:52 -08:00
Mitchell Hashimoto
8b839ef4b6 screen selectLine and tests 2022-11-22 10:03:20 -08:00
Mitchell Hashimoto
04088abe5a fix regression around selecting word at end of screen 2022-11-22 09:41:07 -08:00
Mitchell Hashimoto
f9fed1f3a8 double-click drag selects word by word 2022-11-22 09:15:44 -08:00
Mitchell Hashimoto
9ae2df7bae Don't crash when fn key pressed on mac (workaround upstream issue) 2022-11-22 08:45:09 -08:00
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
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
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