v0.15.0 password recovery, phone layout, CLI pager, embed policy fixes
This commit is contained in:
1 parent
a999177f0c
commit
e1fa5242e3
48 files changed
+2101
-135
No files matched your search
@@ -35,8 +35,14 @@ func runClient() (restart bool) {
|
||||
Verbose: false,
|
||||
}
|
||||
|
||||
// Initialize simple input scanner
|
||||
// Initialize simple input scanner; the pager reads from it between screens
|
||||
scanner := bufio.NewScanner(os.Stdin)
|
||||
s.ReadLine = func() (string, bool) {
|
||||
if !scanner.Scan() {
|
||||
return "", false
|
||||
}
|
||||
return scanner.Text(), true
|
||||
}
|
||||
|
||||
display.Println(display.Cyan, "Chess Debug Client")
|
||||
display.Println(display.Cyan, "API: %s", s.APIBaseURL)
|
||||
|
||||
Reference in new issue
Block a user