mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(konsole) Ctrl + P: paste current directory path
This commit is contained in:
parent
c25dd8d774
commit
493edf8cc5
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue