1860 Commits

Author SHA1 Message Date
Mitchell Hashimoto
64fa064e29 Merge pull request #167 from mitchellh/evanphx/b-precision-mouse-event
Use the precision calculation to determine when to send mouse events
2023-07-01 09:03:31 -07:00
Evan Phoenix
4d46229652 Use the precision calculation to determine when to send mouse events 2023-07-01 15:22:03 +02:00
Mitchell Hashimoto
a212d811e7 build: update min required zig version 2023-06-30 13:24:01 -07:00
Mitchell Hashimoto
314f9287b1 Update Zig (#164)
* update zig

* pkg/fontconfig: clean up @as

* pkg/freetype,harfbuzz: clean up @as

* pkg/imgui: clean up @as

* pkg/macos: clean up @as

* pkg/pixman,utf8proc: clean up @as

* clean up @as

* lots more @as cleanup

* undo flatpak changes

* clean up @as
2023-06-30 12:15:31 -07:00
Mitchell Hashimoto
0c632e7345 Merge pull request #163 from mitchellh/precision-scroll
Precision Scroll Devices (i.e. Magic Mouse) and Momentum-Based Scrolling
2023-06-29 12:04:19 -07:00
Mitchell Hashimoto
de5468e214 scale x, speed up scrolling 2023-06-29 11:47:28 -07:00
Mitchell Hashimoto
32031701b8 core: do high precision scrolling Y calculations 2023-06-29 11:42:43 -07:00
Mitchell Hashimoto
9a40dc4630 macos: build scroll mods value 2023-06-29 11:06:34 -07:00
Mitchell Hashimoto
68631a1ccd apprt: plumb through scroll mods to core, don't handle them yet 2023-06-29 10:41:42 -07:00
Mitchell Hashimoto
20f46d5c08 define precision scrolling and momentum structs, C API 2023-06-29 10:38:15 -07:00
Mitchell Hashimoto
481107b41d mouse button codes for right/middle were swapped! 2023-06-25 16:34:06 -07:00
Mitchell Hashimoto
0d2dce4449 Merge pull request #162 from mitchellh/mouse
Shift-Click Overrides "Grabbed" Mouse Events
2023-06-25 16:13:26 -07:00
Mitchell Hashimoto
7012ee36eb shift+click to override "grabbed" mouse events and select 2023-06-25 16:03:57 -07:00
Mitchell Hashimoto
1607cccf73 mouse shift-click only continues previous event if selection is active 2023-06-25 15:53:05 -07:00
Mitchell Hashimoto
2528f4f2fe update zig-js for wasm 2023-06-25 11:29:14 -07:00
Mitchell Hashimoto
5ae28f31c6 update flatpak build 2023-06-25 11:24:22 -07:00
Mitchell Hashimoto
85fb417ac9 Merge pull request #161 from mitchellh/update-zig
Update Zig
2023-06-25 11:21:07 -07:00
Mitchell Hashimoto
b7b3b9e7f2 build.zig update min version 2023-06-25 11:18:09 -07:00
Mitchell Hashimoto
8a83a1e4a9 fix min usage in src/os 2023-06-25 11:17:51 -07:00
Mitchell Hashimoto
e3affae381 update libxev 2023-06-25 11:17:47 -07:00
Mitchell Hashimoto
56f8e39e5b Update zig, mach, fmt 2023-06-25 11:08:20 -07:00
Mitchell Hashimoto
ab93beaa15 CSI aliases 2023-06-25 10:30:25 -07:00
Mitchell Hashimoto
744634cedf CSI f 2023-06-25 10:27:25 -07:00
Mitchell Hashimoto
9110c07763 CSI ? W 2023-06-25 10:26:29 -07:00
Mitchell Hashimoto
68b951f19d CSI W - cursor tabulation control 2023-06-25 10:23:10 -07:00
Mitchell Hashimoto
fdf652fe5a Merge pull request #160 from mitchellh/cbt
CSI for tab forward/back (CBT/CHT)
2023-06-25 10:01:21 -07:00
Mitchell Hashimoto
f10573541d Merge pull request #159 from mitchellh/invisible
Implement SGR 8/28 Invisible
2023-06-25 10:01:11 -07:00
Mitchell Hashimoto
03fd649b5e terminal: CHT/CBT 2023-06-25 09:53:58 -07:00
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