mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 09:17:58 +01:00
Respect <C-t> for a few more key bindings. Add :background.
This commit is contained in:
@@ -592,11 +592,12 @@ var Buffer = Module("buffer", {
|
||||
}
|
||||
|
||||
let ctrlKey = false, shiftKey = false;
|
||||
switch (where) {
|
||||
switch (dactyl.forceTarget || where) {
|
||||
case dactyl.NEW_TAB:
|
||||
case dactyl.NEW_BACKGROUND_TAB:
|
||||
ctrlKey = true;
|
||||
shiftKey = (where != dactyl.NEW_BACKGROUND_TAB);
|
||||
shiftKey = dactyl.forceBackground != null ? dactyl.forceBackground
|
||||
: where != dactyl.NEW_BACKGROUND_TAB;
|
||||
break;
|
||||
case dactyl.NEW_WINDOW:
|
||||
shiftKey = true;
|
||||
|
||||
Reference in New Issue
Block a user