Shell: Implement history file for persistent history storage

This commit is contained in:
2024-10-16 00:21:33 +03:00
parent 6e981d1222
commit 41e2b898ab
2 changed files with 62 additions and 5 deletions

View File

@@ -23,8 +23,7 @@ private:
private:
BAN::String m_hostname;
BAN::Vector<BAN::String> m_buffers { 1, ""_sv };
BAN::Vector<BAN::String> m_history;
BAN::Vector<BAN::String> m_buffers;
size_t m_buffer_index { 0 };
size_t m_buffer_col { 0 };