Issue #25660: Fix TAB key behaviour in REPL.
This commit is contained in:
parent
2b818142d1
commit
a7eae4016e
|
@ -75,7 +75,9 @@ class Completer:
|
|||
|
||||
if not text.strip():
|
||||
if state == 0:
|
||||
return '\t'
|
||||
readline.insert_text('\t')
|
||||
readline.redisplay()
|
||||
return ''
|
||||
else:
|
||||
return None
|
||||
|
||||
|
|
Loading…
Reference in New Issue