mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-05 17:00:58 +01:00
no doubling
This commit is contained in:
parent
11d4df8e3e
commit
b5df612b4c
1 changed files with 3 additions and 3 deletions
|
@ -189,8 +189,8 @@ class Shell(Cmd):
|
|||
@property
|
||||
def prompt(self):
|
||||
"""Obtains the current prompt string."""
|
||||
lib.rl_resize_terminal()
|
||||
lib.rl_reset_screen_size()
|
||||
#lib.rl_resize_terminal()
|
||||
if self.need_more_lines:
|
||||
if self.mlprompt is None:
|
||||
self.mlprompt = multiline_prompt()
|
||||
|
@ -204,6 +204,6 @@ class Shell(Cmd):
|
|||
else:
|
||||
p = "set '$PROMPT = ...' $ "
|
||||
self.settitle()
|
||||
lib.rl_resize_terminal()
|
||||
lib.rl_reset_screen_size()
|
||||
#lib.rl_resize_terminal()
|
||||
#lib.rl_reset_screen_size()
|
||||
return p
|
||||
|
|
Loading…
Add table
Reference in a new issue