Use proper resetScreen() vs clearScreen()

This commit is contained in:
Bryan Ashby 2017-02-12 00:23:39 -07:00
parent 6dccbd124f
commit 50a5b8d78e
3 changed files with 3 additions and 3 deletions

View File

@ -295,7 +295,7 @@ exports.MenuModule = class MenuModule extends PluginModule {
}
if(options.clearScreen) {
this.client.term.rawWrite(ansi.clearScreen());
this.client.term.rawWrite(ansi.resetScreen());
}
return theme.displayThemedAsset(

View File

@ -566,7 +566,7 @@ function displayThemedPrompt(name, client, options, cb) {
}
if(options.clearScreen) {
client.term.rawWrite(ansi.clearScreen());
client.term.rawWrite(ansi.resetScreen());
}
//

View File

@ -170,7 +170,7 @@ exports.getModule = class FileBaseDownloadQueueManager extends MenuModule {
[
function readyAndDisplayArt(callback) {
if(options.clearScreen) {
self.client.term.rawWrite(ansi.clearScreen());
self.client.term.rawWrite(ansi.resetScreen());
}
theme.displayThemedAsset(