From 0f1039064f8cc4220591c923ddfa5c40a378af89 Mon Sep 17 00:00:00 2001 From: Kaushik Sivashankar Date: Thu, 25 Mar 2021 20:33:18 +0530 Subject: [PATCH] fixed prompt dissapearing issue --- rshell/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rshell/main.py b/rshell/main.py index 23b64d3..fff0ba8 100755 --- a/rshell/main.py +++ b/rshell/main.py @@ -1853,10 +1853,10 @@ def __init__(self, filename=None, timing=False, **kwargs): def set_prompt(self): if self.stdin == sys.stdin: - prompt = PROMPT_COLOR + cur_dir + END_COLOR + '> ' + prompt = PROMPT_COLOR + cur_dir + END_COLOR + '>' if FAKE_INPUT_PROMPT: print(prompt, end='') - self.prompt = '' + self.prompt = ' ' else: self.prompt = prompt else: