Commit Graph

28 Commits

Author SHA1 Message Date
f38b61e8c1 Remove spurious output 2025-01-14 20:42:55 -08:00
f55feb0de5 Fix allocation error 2025-01-14 20:42:55 -08:00
0d17afe989 Update for zig 0.13 and remove libmagic
20250114T160010
2025-01-14 20:42:54 -08:00
934a89e2bf Add TODOs to readme 2025-01-14 20:42:54 -08:00
9f5cbc3167 Clean up 2025-01-14 20:42:54 -08:00
fd95228b1b Add buffer between columns 2025-01-14 20:42:54 -08:00
956ab75ebf Update readme 2025-01-14 20:42:54 -08:00
6370747ea8 Only display filename, not full path 2025-01-14 20:42:53 -08:00
cda3c636e2 Add zig-out to .gitignore 2025-01-14 20:42:53 -08:00
90437e05e1 Open directories of files
You can pass files / dirs as arguments an they will be opened. The
directories will be searched for text files (as identified by libmagic)
and those text files will be displayed too.
2025-01-14 20:42:53 -08:00
0c30bd3ae2 Display multiple files 2025-01-14 20:42:53 -08:00
a5e5c8e59d Add docmap struct
We want to have an array of docmaps, one for each file and be able to
iterate through them. That way the layout can be done in a single
function.
2025-01-14 20:42:53 -08:00
ef397ae075 Write file name inline 2025-01-14 20:42:53 -08:00
a76001e0d4 Finish text render test 2025-01-14 20:42:52 -08:00
bf1f5822f4 Add SDL TTF for text rendering 2025-01-14 20:42:52 -08:00
2349c13b67 Added red mark at end of long line 2025-01-14 20:42:52 -08:00
e87ca40870 Rename bin to docmap 2025-01-14 20:42:52 -08:00
074a828aff zig fmt 2025-01-14 20:42:52 -08:00
ac6bc6012b Added columns 2025-01-14 20:42:51 -08:00
57d011fdd6 First pass at a document map viewer 2025-01-14 20:42:51 -08:00
fb45fe256f update to latest zig 2025-01-14 20:42:51 -08:00
d8fec2b4ea update to latest zig 2025-01-14 20:42:51 -08:00
10ec26c7b7 update to latest zig 2025-01-14 20:42:51 -08:00
aaedf032c3 update to latest zig 2025-01-14 20:42:51 -08:00
05c9940033 zig has extern unions now 2025-01-14 20:42:50 -08:00
67ff60279b update to latest zig 2025-01-14 20:42:50 -08:00
a0bd68be0f don't free the rwop twice 2025-01-14 20:42:50 -08:00
d985eed563 initial version 2025-01-14 20:42:50 -08:00