1882 Commits

Author SHA1 Message Date
Mitchell Hashimoto
cbded6a95a terminal: horizontalTabBack function 2023-06-25 09:49:18 -07:00
Mitchell Hashimoto
a74a38b9de ci: release process must preserve symlinks
The code signature on mac builds uses the symlink so we have to preserve
it
2023-06-25 09:40:15 -07:00
Mitchell Hashimoto
c6356930cc renderer: support invisible attribute 2023-06-25 09:31:33 -07:00
Mitchell Hashimoto
aafff194f9 terminal: SGR parse invisible (attr 8, 28) 2023-06-25 09:19:43 -07:00
Mitchell Hashimoto
f9978e8524 build: Copy terminfo resources from xcodeproj
This should fix #158. Instead of manually copying the resources, we
create a relative dependency from the xcodeproj directly so that
xcodebuild should handle this for us.
2023-06-25 09:09:23 -07:00
Mitchell Hashimoto
d1c8d74ab4 Merge pull request #157 from mitchellh/terminfo
Ghostty Terminfo
2023-06-24 15:53:56 -07:00
Mitchell Hashimoto
701cb9f2f5 build: fix race condition in build on creating 'share' dir 2023-06-24 15:34:17 -07:00
Mitchell Hashimoto
60d4024d64 terminal: reset CSI param separator in parser on clear 2023-06-24 15:16:54 -07:00
Mitchell Hashimoto
97df179b04 terminfo: switch to semicolon SGR 48 to prevent render issues 2023-06-24 15:04:33 -07:00
Mitchell Hashimoto
7092078585 terminfo: fix 0 => O 2023-06-24 14:43:11 -07:00
Mitchell Hashimoto
7e51dbb7e5 build: fix race conditions, use actual filesource 2023-06-24 14:24:58 -07:00
Mitchell Hashimoto
d9421b87b0 build: copy the terminfo db using cp so we get symlinks 2023-06-24 12:40:12 -07:00
Mitchell Hashimoto
b2cd2e06de use stdlib selfExePath 2023-06-24 12:12:49 -07:00
Mitchell Hashimoto
9c8f784386 termio: sets TERMINFO if we can find the terminfo dir 2023-06-24 12:10:10 -07:00
Mitchell Hashimoto
629f8f93d6 ci: during release builds, copy terminfo db into mac app bundle 2023-06-24 11:50:17 -07:00
Mitchell Hashimoto
da1248d973 build: copy terminfo data into Mac app bundle 2023-06-24 11:41:16 -07:00
Mitchell Hashimoto
e6bc3c8067 os: exePath to get path to running executable
We're going to use this first for macOS in order to find the TERMINFO
directory (if it exists).
2023-06-24 11:35:03 -07:00
Mitchell Hashimoto
3ae2a3e1fa ghostty encoding test needs more buffer 2023-06-24 11:11:08 -07:00
Mitchell Hashimoto
629fddcf5f terminfo: more capabilties, I think this is all of them 2023-06-24 11:04:02 -07:00
Mitchell Hashimoto
0f43e79bda terminfo: a bunch more capabilities 2023-06-24 10:29:19 -07:00
Mitchell Hashimoto
3a28ab1e8a nix: add ncurses so we have access to tic, infocmp, etc. 2023-06-24 09:52:32 -07:00
Mitchell Hashimoto
aad8483323 build: use tic to compile terminfo into database format 2023-06-24 09:45:26 -07:00
Mitchell Hashimoto
21d922304b build: build.zig encodes and writes the terminfo source 2023-06-24 09:12:42 -07:00
Mitchell Hashimoto
ea67b4aa48 terminfo: working on Ghostty's terminfo 2023-06-24 08:59:05 -07:00
Mitchell Hashimoto
3ec8ce8063 terminfo: basic Source structure and can encode 2023-06-23 19:22:16 -07:00
Mitchell Hashimoto
8d40fba9ce terminal: correct assertion for scrollUp 2023-06-23 14:06:40 -07:00
Mitchell Hashimoto
30fdbaebf4 font: run splitting needs to detect italics 2023-06-23 13:56:07 -07:00
Mitchell Hashimoto
6e79e84acf config file quoted strings are accepted now 2023-06-23 13:45:48 -07:00
Mitchell Hashimoto
ce47bdb874 log emoji font as info, log that fonts are using default 2023-06-23 13:18:29 -07:00
Mitchell Hashimoto
1d45df17e4 font: underline sprites should never go out of bounds for canvas 2023-06-22 20:11:57 -07:00
Mitchell Hashimoto
111c68dafe Merge pull request #151 from mitchellh/underline
Properly render curly underline and double underline with fonts with very low underline position metric
2023-06-22 16:21:30 -07:00
Mitchell Hashimoto
43554c1b64 font: remove old logging 2023-06-22 16:07:43 -07:00
Mitchell Hashimoto
e810a7bf91 font: fix double underline drawing with very low underline positions 2023-06-22 16:07:10 -07:00
Mitchell Hashimoto
cfb8108279 font: curly underline has a minimum wave height
This fixes rendering issues with some fonts where the underline position
is too close to the bottom of the cell causing a very shallow curl.
2023-06-22 16:01:00 -07:00
Mitchell Hashimoto
47ee395688 Merge pull request #150 from mitchellh/underline-color
Colored Underlines
2023-06-20 09:52:06 -07:00
Mitchell Hashimoto
86705a181a finalize comments 2023-06-20 09:40:50 -07:00
Mitchell Hashimoto
1c2451b532 renderer: render underline color if set 2023-06-20 09:39:52 -07:00
Mitchell Hashimoto
860209e968 terminal: track underline color on cell 2023-06-20 09:37:58 -07:00
Mitchell Hashimoto
b9bc61c0a4 terminal: parse underline color sequences (but do not handle yet) 2023-06-20 09:34:29 -07:00
Mitchell Hashimoto
28a22fc07f various tests to ensure we parse curly underlines correctly 2023-06-20 09:24:07 -07:00
Mitchell Hashimoto
0044776700 update cachix action for macos 12 2023-06-17 13:59:44 -07:00
Mitchell Hashimoto
8aaee518fd update zig version 2023-06-16 17:03:46 -07:00
Mitchell Hashimoto
01de38b20d font: if CoreText needs to allocate, stack allocate and log 2023-05-31 22:03:27 -07:00
Mitchell Hashimoto
d903e4a43b Merge pull request #149 from mitchellh/osc7
OSC 7 (report pwd) and new Window/Tab/Split uses current cwd
2023-05-31 21:16:37 -07:00
Mitchell Hashimoto
c58e2f7aec update README 2023-05-31 21:11:40 -07:00
Mitchell Hashimoto
f31d6fb8fe apprt: clean up how apprt initializes surfaces 2023-05-31 21:08:50 -07:00
Mitchell Hashimoto
0fca74c089 apprt/glfw: inherit working dir 2023-05-31 19:18:55 -07:00
Mitchell Hashimoto
866de88ee6 termio/exec: check cwd validity 2023-05-31 19:17:08 -07:00
Mitchell Hashimoto
553e09eff9 apprt/embedded: new surfaces inherit last focused 2023-05-31 19:12:01 -07:00
Mitchell Hashimoto
a158813a3d app keeps track of last focused surface 2023-05-31 18:59:40 -07:00