Use proper resetScreen() vs clearScreen()
This commit is contained in:
parent
6dccbd124f
commit
50a5b8d78e
|
@ -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(
|
||||
|
|
|
@ -566,7 +566,7 @@ function displayThemedPrompt(name, client, options, cb) {
|
|||
}
|
||||
|
||||
if(options.clearScreen) {
|
||||
client.term.rawWrite(ansi.clearScreen());
|
||||
client.term.rawWrite(ansi.resetScreen());
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue