AgonConsole8 / agon-mos

Official AGON QUARK Firmware for Console8: eZ80 MOS
MIT License
31 stars 10 forks source link

Move CLI history into the heap #83

Closed stevesims closed 1 month ago

stevesims commented 1 month ago

Changes how CLI history is recorded, moving it from a static fixed length array of chars to storing pointers to variable length strings in the heap

Duplicate history items are no longer pushed, altho this check is only against the most recent history entry

This gives us a chunk more heap space