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
Mitchell Hashimoto
eaa78477d5
terminal: fix tests for brackets on selectWord
2024-03-04 14:30:28 -08:00
Qwerasd
e8460fa2c2
fix(renderer): allocate enough room for fg cells
...
Previously encountered OOB when screen filled with cells with glyphs,
underlines, and strikethroughs. Also clarified comment slightly.
2024-03-03 20:26:51 -05:00
Adam Stephens
59485713b4
screen/selectword: add more boundary characters
2024-02-29 22:30:30 -05:00
Krzysztof Wolicki
f4e8982e5c
Windows Utf8 -> Wtf8
2024-02-26 18:01:06 +01:00
Mitchell Hashimoto
3587ca5c65
Merge pull request #1544 from ProfOak/linux-specific-paste-selection
...
Move selection paste to linux config section
2024-02-24 13:38:00 -08:00
Mitchell Hashimoto
796d1312ff
font/sprite: rect must be smaller than canvas dims
2024-02-24 13:19:49 -08:00
Mitchell Hashimoto
759c8cddb4
font/sprite: test for thick underline, assertion on x/y for rect
2024-02-24 09:30:04 -08:00
em-dash
0f19251aa6
fix crash in underline drawing math
2024-02-24 20:49:51 +11:00
ProfOak
f7911937ec
Move selection paste to linux config section
2024-02-21 22:37:05 -06:00