predictive echo: make the password check more broad
This commit is contained in:
1 parent
cfc22c1fcb
commit
382b8f53dd
1 file changed
+1
-1
@@ -140,7 +140,7 @@ impl RenderableInner {
|
||||
/// handle.
|
||||
fn apply_prediction(&mut self, c: KeyCode, line: &mut Line) {
|
||||
let text = line.as_str();
|
||||
if text.contains("sword:") {
|
||||
if text.contains("sword") {
|
||||
// This line might be a password prompt. Don't force
|
||||
// on local echo here, as we don't want to reveal content
|
||||
// from their password
|
||||
|
||||
Reference in new issue
Block a user