Mitchell Hashimoto
f2d4b64032
terminal/new: using arena + pool is faster for page init
2024-03-22 20:27:19 -07:00
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
b7bf59d772
update zig
2024-03-22 11:15:26 -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
Qwerasd
1c87bf51a0
fix(terminal/stream): correct invalid assertion
2024-03-17 15:06:31 -06:00
Mitchell Hashimoto
c2c115a768
fix some issues
2024-03-13 13:40:07 -07:00
Mitchell Hashimoto
b48d24a546
update zig
2024-03-13 09:14:12 -07:00
Mitchell Hashimoto
08f88a0c86
core: remove undefined access on variable
...
It was possible if there was no selection for `reset` to be undefined.
2024-03-10 17:29:54 -07:00
Mitchell Hashimoto
ad0f062d44
Merge pull request #1558 from mitchellh/wordboundaries
...
add more word boundary characters
2024-03-04 14:33:52 -08:00