mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-01-29 21:51:31 +00:00
Merge branch 'dev' into exec_cmd
This commit is contained in:
@@ -158,7 +158,7 @@ class Tty(object):
|
||||
""", re.X)
|
||||
result_command = control_char.sub('', result_command.strip())
|
||||
if not self.vim_flag:
|
||||
if result_command.startswith('vi'):
|
||||
if result_command.startswith('vi') or result_command.startswith('fg'):
|
||||
self.vim_flag = True
|
||||
return result_command.decode('utf8', "ignore")
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user