fix(konsole) Ctrl + P: paste current directory path

This commit is contained in:
coderaiser 2018-05-11 10:14:49 +03:00
parent c25dd8d774
commit 493edf8cc5

View file

@ -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);
}
});
}