Browse Source

Offical v1.0-release

apollo 4 days ago
parent
commit
3a3afe8820
1 changed files with 5 additions and 1 deletions
  1. 5 1
      tyrell.py

+ 5 - 1
tyrell.py

@@ -7,7 +7,7 @@ from time import sleep as _sleep
 
 from typing import Dict as _Dict, List as _List, Optional as _Option, Any as _Any
 
-VERSION: str = '1.0'
+VERSION: str = '1.0-rel'
 
 try:
     from click import echo as _echo, style as _style, command as _command, option as _option, argument as _arg
@@ -580,6 +580,8 @@ class Profile:
         return self._state
     
     def show_help(self):
+        _echo(_style("Tyr", fg='bright_red') + _style("ell", fg='bright_green') + " v" + _style(f"{VERSION}", fg='bright_cyan'))
+        _echo("Profile: " + _style(f"{self.name}", fg='bright_yellow'))
         for line in self._help_screen:
             _echo(line)
 
@@ -604,6 +606,7 @@ class Profile:
                     _print_off("Tyrell")
                 return
             elif self._trigger_helper(event) and self.is_on():
+                _print_ok("Help")
                 self.show_help()
                 self.toggle(off=True)
                 _print_off("Tyrell")
@@ -614,6 +617,7 @@ class Profile:
             if a.trigger_key(event) and event.event_type == 'up' and self.is_on():
                 if a.kind != 'mirror' and not a.is_ticker():
                     #_print_ok(f"{act} => '{a.kind}' action, trigger on '{a.key}'")
+                    _print_ok(f"{act}")
                     a.do(self.delay, self.hold)
                 elif a.kind == 'mirror' or a.is_ticker():
                     if a.toggle():