18 Commits

Author SHA1 Message Date
Michael
e9cf02e428 fix: flip decrement/increment on comparison
- this prevents wrapping size_t below 0
2026-10-13 21:11:20 +02:00
Michael
cfe3d40fc6 fix: move ownership of line to oldline
- set line to null when moved
- also, free line when loading from history
2026-10-13 21:09:18 +02:00
Michael
913449e500 fix: memory bug due to use of wrong line size 2026-10-13 21:00:05 +02:00
Michael
6672ecac58 fix: immediately continue when empty line is read 2026-10-13 20:45:29 +02:00
Michael
c8b5621df1 fix: when set, free oldline after reading line 2026-10-13 20:43:44 +02:00
Michael
37aab9b79b fix: only overwrite oldline when going up from last history position 2026-10-13 20:35:01 +02:00
Michael
ea1d6f617a feat: update readme 2026-10-10 01:52:11 +02:00
Michael
0794ed12ed feat: history browsing with arrow keys 2026-10-10 01:44:12 +02:00
Michael
a1df9fca4f fix: resize arrays as much as needed 2026-10-10 01:04:11 +02:00
Michael
a7cbe7b32c feat: history
- fix: move many things to heap
2026-10-10 00:49:26 +02:00
Michael
28d6123c4c feat: history file 2026-10-09 22:52:06 +02:00
Michael
2396e4c869 feat: pretty colors! 2026-10-09 16:41:04 +02:00
Michael
7dc85ea994 fix: programs inherit environ 2026-10-09 15:22:24 +02:00
Michael
4c150fe869 feat: add readme 2026-10-09 15:21:38 +02:00
Michael
9a82b590e7 feat: line editor 2026-10-09 15:04:13 +02:00
Michael
3bc5d25e1f Check result of getcwd 2026-10-09 12:38:14 +02:00
Michael
f93b1c7738 Clean up makefile 2026-10-09 12:37:51 +02:00
Michael
165592feea Initial Commit 2026-10-09 12:20:25 +02:00