mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:57:35 +00:00
LibVT: Make inject_string() a public API so clients can use it
This API allows you to add arbitrary input at the current cursor position. You can even do escape sequences! :^)
This commit is contained in:
parent
cd1eee6604
commit
5a83e053b3
3 changed files with 8 additions and 2 deletions
|
@ -104,6 +104,8 @@ public:
|
|||
int max_history_size() const { return 500; }
|
||||
const NonnullOwnPtrVector<Line>& history() const { return m_history; }
|
||||
|
||||
void inject_string(const StringView&);
|
||||
|
||||
private:
|
||||
typedef Vector<unsigned, 4> ParamVector;
|
||||
|
||||
|
@ -114,7 +116,6 @@ private:
|
|||
void put_character_at(unsigned row, unsigned column, u8 ch);
|
||||
void set_window_title(const String&);
|
||||
|
||||
void inject_string(const String&);
|
||||
void unimplemented_escape();
|
||||
void unimplemented_xterm_escape();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue