1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:17:35 +00:00

LibLine: Unify history reading, prefer File over DeprecatedFile

This commit is contained in:
Ben Wiederhake 2023-05-19 18:10:15 +02:00 committed by Jelle Raaijmakers
parent 64a2a63df6
commit f93ee3142d
2 changed files with 37 additions and 28 deletions

View file

@ -475,6 +475,7 @@ private:
size_t m_history_cursor { 0 };
size_t m_history_capacity { 1024 };
bool m_history_dirty { false };
static ErrorOr<Vector<HistoryEntry>> try_load_history(StringView path);
enum class InputState {
Free,