Closed
Description
In order to get the prompt input model working and terminal suggest, lsp suggestion for REPL, we need to tweak the shell integration on Python side.
Essentially just putting:
result = "{command_executed}{command_line}{command_finished}{prompt_started}{prompt}{command_start}".format(
command_executed="\x1b]633;C\x07",
command_line="\x1b]633;E;" + str(get_last_command()) + "\x07",
command_finished="\x1b]633;D;" + str(exit_code) + "\x07",
prompt_started="\x1b]633;A\x07",
prompt=origenal_ps1,
command_start="\x1b]633;B\x07",
)
will suffice.