mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
windows don't complete fix
This commit is contained in:
parent
3215faaad5
commit
5dba1720ac
1 changed files with 4 additions and 1 deletions
|
@ -302,7 +302,10 @@ class ReadlineShell(BaseShell, cmd.Cmd):
|
|||
show_completions = to_bool(yn)
|
||||
print()
|
||||
if not show_completions:
|
||||
rl_on_new_line()
|
||||
if rl_on_new_line is None:
|
||||
rl_on_new_line()
|
||||
else:
|
||||
print()
|
||||
return False
|
||||
w, h = shutil.get_terminal_size()
|
||||
lines = columnize(completions, width=w)
|
||||
|
|
Loading…
Add table
Reference in a new issue