mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-10 05:37:29 +03:00
Implemented a simplistic version of correct cmd-k behavior
This commit is contained in:
parent
188b775fa6
commit
bf50a8ad8e
@ -618,8 +618,11 @@ impl Terminal {
|
||||
term.resize(new_size);
|
||||
}
|
||||
InternalEvent::Clear => {
|
||||
self.write_to_pty("\x0c".to_string());
|
||||
term.clear_screen(ClearMode::Saved);
|
||||
|
||||
term.clear_screen(ClearMode::All);
|
||||
|
||||
term.grid_mut().cursor.point = Point::new(Line(0), Column(0));
|
||||
}
|
||||
InternalEvent::Scroll(scroll) => {
|
||||
term.scroll_display(*scroll);
|
||||
|
Loading…
Reference in New Issue
Block a user