浏览代码

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"

正在加载...
取消
保存