mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:47:46 +00:00
Shell: Make ^W and ^U work when cursor is not at the end of the line.
This commit is contained in:
parent
b04f08ba48
commit
67108f872f
2 changed files with 38 additions and 22 deletions
|
@ -16,6 +16,9 @@ public:
|
|||
private:
|
||||
void clear_line();
|
||||
void append(const String&);
|
||||
void vt_save_cursor();
|
||||
void vt_restore_cursor();
|
||||
void vt_clear_to_end_of_line();
|
||||
|
||||
Vector<char, 1024> m_buffer;
|
||||
int m_cursor { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue