From 493edf8cc588f051e70fb1d66c3ad3c6bf8f30aa Mon Sep 17 00:00:00 2001 From: coderaiser Date: Fri, 11 May 2018 10:14:49 +0300 Subject: [PATCH] fix(konsole) Ctrl + P: paste current directory path --- client/modules/konsole.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/modules/konsole.js b/client/modules/konsole.js index 2269fd51..574d8070 100644 --- a/client/modules/konsole.js +++ b/client/modules/konsole.js @@ -109,10 +109,10 @@ function ConsoleProto() { konsole.addShortCuts({ 'P': () => { - const command = Console.getPromptText(); + const command = konsole.getPromptText(); const path = DOM.getCurrentDirPath(); - Console.setPromptText(command + path); + konsole.setPromptText(command + path); } }); }