OhMyREPL.jl icon indicating copy to clipboard operation
OhMyREPL.jl copied to clipboard

wrapping input prompt in escape codes result in no prompt

Open untoreh opened this issue 2 years ago • 3 comments

When I try to wrap the input prompt like this:

OhMyREPL.input_prompt!("\e]51;Ajulia>\e\\")

I get a blank prompt

untoreh avatar Aug 04 '21 13:08 untoreh

How do you want your prompt to look?

KristofferC avatar Aug 04 '21 13:08 KristofferC

the prompt itself should remain the same, see https://github.com/akermu/emacs-libvterm#directory-tracking-and-prompt-tracking

untoreh avatar Aug 04 '21 13:08 untoreh

I think this requires setting the prompt_prefix and prompt_suffix fields analogously to what is done in https://github.com/KristofferC/OhMyREPL.jl/blob/c0f7fbd77fc56ed0e5c3ddf90476c0a0613d0839/src/prompt.jl#L7-L11

KristofferC avatar Mar 08 '23 12:03 KristofferC