mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-15 21:28:40 -09:00
fix COMMAND-K (#1235)
This commit is contained in:
parent
17df56d397
commit
38909e3f16
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ export default class Term extends Component {
|
||||||
// running and we'd like to delete the whole screen.
|
// running and we'd like to delete the whole screen.
|
||||||
// Move cursor to top
|
// Move cursor to top
|
||||||
if (this.term.getCursorRow() !== 0) {
|
if (this.term.getCursorRow() !== 0) {
|
||||||
this.term.io.writeUTF8('\x1B[0;0H\x1B[2J');
|
this.term.writeUTF8('\x1B[0;0H\x1B[2J');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue