瀏覽代碼

Fix get char output for Windows

pull/568/head
Guillaume Vincent 4 年之前
父節點
當前提交
8494e8490b
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. +1
    -1
      cli/lesspass/fingerprint.py
  2. +1
    -1
      cli/lesspass/version.py

+ 1
- 1
cli/lesspass/fingerprint.py 查看文件

@@ -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 查看文件

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

Loading…
取消
儲存