Compare commits
No commits in common. "9b0bb67e61a80447604e6a53d29e39bfe48208f3" and "31215c9c83936ff36d8c859946c97933c4d4adf3" have entirely different histories.
9b0bb67e61
...
31215c9c83
3 changed files with 2 additions and 5 deletions
|
|
@ -5,7 +5,6 @@ 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
|
||||||
|
|
@ -617,7 +616,6 @@ 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,7 +91,6 @@ 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();
|
||||||
const modifiers = hotkey.map(word => word.toLocaleLowerCase());
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
const identifier = hotkeys.hotkey_identifier(event.key, event.ctrlKey, event.shiftKey, event.altKey);
|
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