1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:57:45 +00:00

LibVT: Let Terminal only expose history_size, not storage

This commit is contained in:
Nico Weber 2020-09-09 18:49:21 -04:00 committed by Andreas Kling
parent 927e2fc6bc
commit 90d9c83067
2 changed files with 4 additions and 4 deletions

View file

@ -96,7 +96,7 @@ public:
}
size_t max_history_size() const { return 500; }
const NonnullOwnPtrVector<Line>& history() const { return m_history; }
size_t history_size() const { return m_history.size(); }
void inject_string(const StringView&);
void handle_key_press(KeyCode, u32, u8 flags);