Qwerasd
1fb5e8691a
naming: ArrayListPool -> ArrayListCollection
...
Also remove unnecessary and confusing default value for the lists.
2025-06-23 20:47:19 -06:00
Qwerasd
7eb3e813dd
datastruct: move ArrayListPool from renderer/cell.zig
2025-06-23 13:06:41 -06:00
Qwerasd
6f7e9d5bea
code style: use @splat
where possible
...
As of Zig 0.14.0, `@splat` can be used for array types, which eliminates
a lot of redundant syntax and makes things generally cleaner.
I've explicitly avoided applying this change in the renderer files for
now since it would just create rebasing conflicts in my renderer rework
branch which I'll be PR-ing pretty soon.
2025-05-27 21:55:28 -06:00
Qwerasd
19db2e2755
CircBuf: non-allocating rotateToZero
...
We can call `std.mem.rotate` for this.
2025-05-25 22:25:23 -06:00
Mitchell Hashimoto
43467690f3
test
2025-03-12 10:04:17 -07:00
Mitchell Hashimoto
d307b02e40
terminal: sliding window search can move the cursor
2024-12-03 15:53:12 -08:00
Mitchell Hashimoto
6ed298c9c1
terminal: sliding window search starts working
2024-12-03 15:53:12 -08:00
Mitchell Hashimoto
8abbd80e06
CircBuf: add ensureUnusedCapacity, appendSlice
2024-12-03 15:53:12 -08:00
Mitchell Hashimoto
eaddb69500
datastruct: CircBuf can be initialized empty
2024-12-03 15:53:12 -08:00
Mitchell Hashimoto
1335af3e4a
terminal: change pagelist linked list to an intrusive linked list
2024-11-07 15:12:54 -08:00
Mitchell Hashimoto
3aff43b2e8
datastruct: add intrusive doubly linked list
2024-11-07 14:57:55 -08:00
Mitchell Hashimoto
a436bd0af6
move datastructures to dedicated "datastruct" package
2024-11-07 14:39:10 -08:00