commit | e770dddbf5e3084c939760c50ca84c1adee9c4c4 | [log] [tgz] |
---|---|---|
author | Dragos Vingarzan <vingarzan@gmail.com> | Tue Aug 20 18:25:39 2024 +0200 |
committer | Gopher Robot <gobot@golang.org> | Sat Mar 15 12:59:10 2025 -0700 |
tree | 15dae60ef5699ae69c53edfce4131aeac95fc507 | |
parent | 04218fdaf78fa213d4e82c988184a250f6c354c2 [diff] |
x/term: disabling auto-completion around GetPassword() Triggering the completion during password input might cause some unintended behavior around handling of TAB, or maybe the auto-completion functionality would review the secret input. Hence simply disabling/re-enabling it around the t.readLine call. Fixes #72736 Change-Id: I64270e8570086247247466afb2536b2581d6af25 Reviewed-on: https://go-review.googlesource.com/c/term/+/607115 Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Keith Randall <khr@google.com> Auto-Submit: Sean Liao <sean@liao.dev> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This repository provides Go terminal and console support packages.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/term.
The main issue tracker for the term repository is located at https://go.dev/issues. Prefix your issue with “x/term:” in the subject line, so it is easy to find.