Release 2.3.3 to master #204

Merged
sloum merged 86 commits from develop into master 2020-11-20 04:38:12 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 2f8eedded7 - Show all commits

View File

@ -102,6 +102,7 @@ func Getch() rune {
func GetLine(prefix string) (string, error) {
termios.SetLineMode()
defer termios.SetCharMode()
reader := bufio.NewReader(os.Stdin)
fmt.Print(prefix)
@ -110,7 +111,6 @@ func GetLine(prefix string) (string, error) {
return "", err
}
termios.SetCharMode()
return text[:len(text)-1], nil
}