5558 Commits

Author SHA1 Message Date
Mitchell Hashimoto
f929c86d18 terminal/new: fix allocation 2024-03-22 20:27:19 -07:00
Mitchell Hashimoto
396cf5eb7a bench/page-init: page count 2024-03-22 20:27:19 -07:00
Mitchell Hashimoto
7ad94caaeb bench/page-init 2024-03-22 20:27:19 -07:00
Mitchell Hashimoto
424f121104 terminal/new: pages must use mmap directly 2024-03-22 20:27:18 -07:00
Mitchell Hashimoto
f7c597fa95 terminal/new 2024-03-22 20:27:18 -07:00
Mitchell Hashimoto
46b59b4c7d terminal/new: scrollactive 2024-03-22 20:27:18 -07:00
Mitchell Hashimoto
5628fa36d8 terminal/new: scrollDown 2024-03-22 20:27:18 -07:00
Mitchell Hashimoto
06e88a975b terminal/new: pages have a size 2024-03-22 20:27:18 -07:00
Mitchell Hashimoto
01f2a9b39a terminal/new: wraparound beginnings 2024-03-22 20:27:18 -07:00
Mitchell Hashimoto
76f868621f terminal/new: handle zero-width at beginning of line 2024-03-22 20:27:18 -07:00
Mitchell Hashimoto
05d7d978dd terminal/new: page has grapheme metadata 2024-03-22 20:27:18 -07:00
Mitchell Hashimoto
f8f9f74a8e terminal/new: page has graphemes attached 2024-03-22 20:27:18 -07:00
Mitchell Hashimoto
ed6a31a692 terminal/new: add BitmapAllocator 2024-03-22 20:27:18 -07:00
Mitchell Hashimoto
f6b202f24a terminal/new: todos 2024-03-22 20:27:18 -07:00
Mitchell Hashimoto
c44bc54daf terminal/new: store full style id 2024-03-22 20:27:17 -07:00
Mitchell Hashimoto
dc6de51472 terminal/new: add bench 2024-03-22 20:27:17 -07:00
Mitchell Hashimoto
a1c14d1859 terminal/new: print single lines of ascii chars lol 2024-03-22 20:27:17 -07:00
Mitchell Hashimoto
94c6573e54 terminal/new: detect empty rows 2024-03-22 20:27:17 -07:00
Mitchell Hashimoto
b5d7b0a87a terminal/new: lots of code thrown at the wall 2024-03-22 20:27:17 -07:00
Mitchell Hashimoto
1473b3edf2 terminal/new: PageList 2024-03-22 20:27:17 -07:00
Mitchell Hashimoto
0a27e5a58b terminal/new: print some characters (test string) 2024-03-22 20:27:17 -07:00
Mitchell Hashimoto
1216603e68 terminal/new: Screen beginnings 2024-03-22 20:27:17 -07:00
Mitchell Hashimoto
86deda520f terminal/new: initialize all rows to point to proper cell offsets 2024-03-22 20:27:17 -07:00
Mitchell Hashimoto
24c49f64ad terminal/new 2024-03-22 20:27:17 -07:00
Mitchell Hashimoto
5053a3ab5d terminal/new: page init 2024-03-22 20:27:17 -07:00
Mitchell Hashimoto
181475eec6 terminal/new: clean up comments 2024-03-22 20:27:16 -07:00
Mitchell Hashimoto
334f651387 terminal/new: everything is OffsetBuf based 2024-03-22 20:27:16 -07:00
Mitchell Hashimoto
24354d8392 terminal/new: style set removal 2024-03-22 20:27:16 -07:00
Mitchell Hashimoto
fba9d5ab61 terminal/new: style tests 2024-03-22 20:27:16 -07:00
Mitchell Hashimoto
4fa558735c terminal/new: hash map size is part of buffer 2024-03-22 20:27:16 -07:00
Mitchell Hashimoto
040d07d476 terminal/new: nothing works but everything looks right 2024-03-22 20:27:16 -07:00
Mitchell Hashimoto
6ffe66e728 terminal/new: getOffset 2024-03-22 20:27:16 -07:00
Mitchell Hashimoto
27d0ed05ca terminal/new: comment, remove some pubs 2024-03-22 20:27:16 -07:00
Mitchell Hashimoto
ba749e85ef terminal/new: hash map doesn't need available 2024-03-22 20:27:16 -07:00
Mitchell Hashimoto
210be9cd0c terminal/new: hash map has no load factor 2024-03-22 20:27:16 -07:00
Mitchell Hashimoto
3200d4cb4d terminal/new: slapped together offset map 2024-03-22 20:27:16 -07:00
Mitchell Hashimoto
6b2ec38a05 terminal/new: remove more functions 2024-03-22 20:27:16 -07:00
Mitchell Hashimoto
1a3c617289 terminal/new: hash map remove old functions 2024-03-22 20:27:15 -07:00
Mitchell Hashimoto
11e01ab599 terminal/new: forked hash map works with fixed buffers 2024-03-22 20:27:15 -07:00
Mitchell Hashimoto
18810f89f7 terminal: copy stdlib hash_map 2024-03-22 20:27:15 -07:00
Mitchell Hashimoto
be8745c70a terminal: bunch of junk for paged terminal 2024-03-22 20:27:14 -07:00
Mitchell Hashimoto
badedf81a7 build.zig update min zig version 2024-03-22 20:25:55 -07:00
Mitchell Hashimoto
30403844c1 Merge pull request #1603 from mitchellh/update-zig
Update Zig
2024-03-22 20:25:29 -07:00
Chris Marchesi
3d606f4ee2 nix: update nixpkgs-zig-0-12
This updates the nixpkgs-zig-0-12 to be in line with the current overlay
Zig (0.12.0-dev.3405+31791ae15).
2024-03-22 14:49:48 -07:00
Mitchell Hashimoto
32c5e7a9d4 update libxev for windows stuff 2024-03-22 11:25:27 -07:00
Mitchell Hashimoto
877173067a nix: update hash 2024-03-22 11:17:59 -07:00
Mitchell Hashimoto
b7bf59d772 update zig 2024-03-22 11:15:26 -07:00
Mitchell Hashimoto
0613c23664 Merge pull request #1599 from rockorager/mouse-cb-crash
mouse: handle switch case '0' for left_click_count
2024-03-20 16:03:05 -07:00
Mitchell Hashimoto
c86ae79d52 core: reset left click count if mouse reporting goes on 2024-03-20 15:58:16 -07:00
Tim Culverhouse
806b33f8f2 mouse: handle switch case '0' for left_click_count
A state of '0' if a valid state for the mouse click. I'm unsure *how* we
get a 0 within this branch but I was able to reliably trigger it while
clicking and dragging. We handle the state explicitly because the `else`
prong is `unreachable`. We only handle triple clicks, and in another
function we reset to 3 if the count goes above that. Add an assert to
confirm this is the case.
2024-03-20 10:57:52 -05:00