diff --git a/lib/components/term.js b/lib/components/term.js index 85c2a9fb..53496b1a 100644 --- a/lib/components/term.js +++ b/lib/components/term.js @@ -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'); } }