diff --git a/CliClient/app/app-gui.js b/CliClient/app/app-gui.js index fef246786..3f8e83a98 100644 --- a/CliClient/app/app-gui.js +++ b/CliClient/app/app-gui.js @@ -109,6 +109,7 @@ class AppGui { const consoleWidget = new ConsoleWidget(); consoleWidget.hStretch = true; consoleWidget.name = 'console'; + consoleWidget.prompt = this.term().format('^gJoplin^ ^y>^ '); consoleWidget.on('accept', (event) => { this.processCommand(event.input, 'console'); }); diff --git a/CliClient/app/command-ls.js b/CliClient/app/command-ls.js index 228a49e8e..acba8c5d2 100644 --- a/CliClient/app/command-ls.js +++ b/CliClient/app/command-ls.js @@ -112,7 +112,7 @@ class Command extends BaseCommand { rows.push(row); } - cliUtils.printArray(this.stdout, rows); + cliUtils.printArray(this.stdout.bind(this), rows); } }