Compare commits
3 commits
31215c9c83
...
9b0bb67e61
| Author | SHA1 | Date | |
|---|---|---|---|
| 9b0bb67e61 | |||
| 1c998c9b0e | |||
| 3aad991c40 |
3 changed files with 5 additions and 2 deletions
|
|
@ -5,6 +5,7 @@ import sys
|
||||||
|
|
||||||
from voussoirkit import betterhelp
|
from voussoirkit import betterhelp
|
||||||
from voussoirkit import interactive
|
from voussoirkit import interactive
|
||||||
|
from voussoirkit import operatornotify
|
||||||
from voussoirkit import pathclass
|
from voussoirkit import pathclass
|
||||||
from voussoirkit import pipeable
|
from voussoirkit import pipeable
|
||||||
from voussoirkit import progressbars
|
from voussoirkit import progressbars
|
||||||
|
|
@ -616,6 +617,7 @@ def tag_list_argparse(args):
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
@operatornotify.main_decorator(subject='etiquette_cli')
|
||||||
@vlogging.main_decorator
|
@vlogging.main_decorator
|
||||||
def main(argv):
|
def main(argv):
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
|
|
|
||||||
|
|
@ -91,6 +91,7 @@ def etiquette_flask_launch_argparse(args):
|
||||||
)
|
)
|
||||||
|
|
||||||
@operatornotify.main_decorator(subject='etiquette_flask_dev', notify_every_line=True)
|
@operatornotify.main_decorator(subject='etiquette_flask_dev', notify_every_line=True)
|
||||||
|
@vlogging.main_decorator
|
||||||
def main(argv):
|
def main(argv):
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
description='''
|
description='''
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ function register_hotkey(hotkey, action, description)
|
||||||
}
|
}
|
||||||
|
|
||||||
const key = hotkey.pop();
|
const key = hotkey.pop();
|
||||||
modifiers = hotkey.map(word => word.toLocaleLowerCase());
|
const modifiers = hotkey.map(word => word.toLocaleLowerCase());
|
||||||
const ctrlKey = modifiers.includes("control") || modifiers.includes("ctrl");
|
const ctrlKey = modifiers.includes("control") || modifiers.includes("ctrl");
|
||||||
const shiftKey = modifiers.includes("shift");
|
const shiftKey = modifiers.includes("shift");
|
||||||
const altKey = modifiers.includes("alt");
|
const altKey = modifiers.includes("alt");
|
||||||
|
|
@ -96,7 +96,7 @@ function hotkeys_listener(event)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
identifier = hotkeys.hotkey_identifier(event.key, event.ctrlKey, event.shiftKey, event.altKey);
|
const identifier = hotkeys.hotkey_identifier(event.key, event.ctrlKey, event.shiftKey, event.altKey);
|
||||||
//console.log(identifier);
|
//console.log(identifier);
|
||||||
if (identifier in hotkeys.HOTKEYS)
|
if (identifier in hotkeys.HOTKEYS)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue