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
commit 90d9c83067
Notes: sideshowbarker 2024-07-19 02:47:52 +09:00
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);