Pārlūkot izejas kodu

Fix get char output for Windows

pull/568/head
Guillaume Vincent pirms 4 gadiem
vecāks
revīzija
8494e8490b
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +1
    -1
      cli/lesspass/fingerprint.py
  2. +1
    -1
      cli/lesspass/version.py

+ 1
- 1
cli/lesspass/fingerprint.py Parādīt failu

@@ -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 Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt