Open AtkinsSJ opened 1 month ago
Can you use puter.kv
or puter.fs
for this?
I think it would need to be puter.fs
, because the history can get quite long. Not sure what the best way of storing it is though.
Something structured like JSON would be nice, but then we'd have to parse the entire file to read any part of it. A text file would let us just read individual lines. Though, puter.fs
only lets you read an entire file's contents so maybe that doesn't matter. :thinking: I might also be worrying about speed when it might not matter.
Currently, command history is remembered within a session, but forgotten as soon as Phoenix closes. It'd be nice if this could be preserved.