diff options
Diffstat (limited to 'pkg/cli')
| -rw-r--r-- | pkg/cli/query.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/cli/query.go b/pkg/cli/query.go index a81d153..d8602bc 100644 --- a/pkg/cli/query.go +++ b/pkg/cli/query.go @@ -49,8 +49,7 @@ func Query(prompt string, choices ...Choice) (Choice, int) { return Choice{}, -1 } - //disable line wrap during doQuery(); unexpected wrapping would confuse our - //cursor-moving code + //disable line wrap; unexpected wrapping would confuse our cursor-moving code os.Stdout.Write([]byte("\x1B[?7l")) defer os.Stdout.Write([]byte("\x1B[?7h")) |
