Browse Source

Fix get char output for Windows

pull/568/head
Guillaume Vincent 4 years ago
parent
commit
8494e8490b
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      cli/lesspass/fingerprint.py
  2. +1
    -1
      cli/lesspass/version.py

+ 1
- 1
cli/lesspass/fingerprint.py View File

@@ -105,7 +105,7 @@ def getchar():
# jasonrdsouza & mvaganov https://gist.github.com/jasonrdsouza/1901709
ch = ""
if os.name == "nt": # Windows
ch = msvcrt.getch()
ch = msvcrt.getch().decode('utf-8')
else:
fd = sys.stdin.fileno()
old_settings = termios.tcgetattr(fd)


+ 1
- 1
cli/lesspass/version.py View File

@@ -1 +1 @@
__version__ = "10.0.0"
__version__ = "10.0.1"

Loading…
Cancel
Save