mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-28 21:32:27 +01:00
Fix the deprecated buffer.getCurrentWord() usage leftover.
This commit is contained in:
@@ -400,7 +400,7 @@ var MOW = Module("mow", {
|
||||
|
||||
// copy text to clipboard
|
||||
bind(["<C-y>"], "Yank selection to clipboard",
|
||||
function () { dactyl.clipboardWrite(buffer.getCurrentWord(mow.window)); });
|
||||
function () { dactyl.clipboardWrite(Buffer.currentWord(mow.window)); });
|
||||
|
||||
// close the window
|
||||
bind(["q"], "Close the output window",
|
||||
|
||||
Reference in New Issue
Block a user