mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibVT: Let Terminal only expose history_size, not storage
This commit is contained in:
parent
927e2fc6bc
commit
90d9c83067
Notes:
sideshowbarker
2024-07-19 02:47:52 +09:00
Author: https://github.com/nico
Commit: 90d9c83067
Pull-request: https://github.com/SerenityOS/serenity/pull/3447
2 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue