You've already forked joplin
							
							
				mirror of
				https://github.com/laurent22/joplin.git
				synced 2025-10-31 00:07:48 +02:00 
			
		
		
		
	Switched to chalk
This commit is contained in:
		| @@ -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'); | ||||
| 		}); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user