Fixed terminal clear screen
This commit is contained in:
parent
45ea704eff
commit
83449c95b0
1 changed files with 1 additions and 0 deletions
|
@ -89,6 +89,7 @@ impl ConnectedView {
|
||||||
|
|
||||||
fn clear(&mut self, _: &Clear, cx: &mut ViewContext<Self>) {
|
fn clear(&mut self, _: &Clear, cx: &mut ViewContext<Self>) {
|
||||||
self.terminal.update(cx, |term, _| term.clear());
|
self.terminal.update(cx, |term, _| term.clear());
|
||||||
|
cx.notify();
|
||||||
}
|
}
|
||||||
|
|
||||||
///Attempt to paste the clipboard into the terminal
|
///Attempt to paste the clipboard into the terminal
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue