diff --git a/CliClient/app/app-gui.js b/CliClient/app/app-gui.js index 676aa02b7..f029f2101 100644 --- a/CliClient/app/app-gui.js +++ b/CliClient/app/app-gui.js @@ -5,6 +5,7 @@ import { cliUtils } from './cli-utils.js'; import { reducer, defaultState } from 'lib/reducer.js'; import { _ } from 'lib/locale.js'; +const chalk = require('chalk'); const tk = require('terminal-kit'); const TermWrapper = require('tkwidgets/framework/TermWrapper.js'); const Renderer = require('tkwidgets/framework/Renderer.js'); @@ -110,7 +111,7 @@ class AppGui { const consoleWidget = new ConsoleWidget(); consoleWidget.hStretch = true; consoleWidget.name = 'console'; - consoleWidget.prompt = this.term().format('^gJoplin^ ^y>^ '); + consoleWidget.prompt = chalk.green('Joplin') + ' ' + chalk.magenta('>') + ' '; consoleWidget.on('accept', (event) => { this.processCommand(event.input, 'console'); });