fix COMMAND-K (#1235)

This commit is contained in:
Vitaly Domnikov 2016-12-15 13:45:48 -08:00 committed by Guillermo Rauch
parent 17df56d397
commit 38909e3f16

View file

@ -159,7 +159,7 @@ export default class Term extends Component {
// running and we'd like to delete the whole screen.
// Move cursor to top
if (this.term.getCursorRow() !== 0) {
this.term.io.writeUTF8('\x1B[0;0H\x1B[2J');
this.term.writeUTF8('\x1B[0;0H\x1B[2J');
}
}