extraterm icon indicating copy to clipboard operation
extraterm copied to clipboard

Shell integration to remote shells breaks command prompt and window names

Open WarDrake opened this issue 4 years ago • 2 comments

I do most of my work on remote shells, and I connect through ssh, when using Shell integration locally, it works flawlessly, but when I execute it on a remote shell it breaks the command prompt and the tab title.

image

The title and command prompt aren't that big of a deal, however, when I need to sometimes edit a command the command is shifted from what it to what it looks like.

so if I edit the beginning of the third word of the command, it looks right, but I really edited a couple characters off from where it looks like I did because the command prompt looks different but it is the correct length internally.

WarDrake avatar Aug 05 '21 23:08 WarDrake

Which shell are you using remotely? and is it using the correct integration script for that particular shell?

sedwards2009 avatar Aug 06 '21 20:08 sedwards2009

I'm using a Bash shell in Debian 10 locally (wsl2) and connecting to a bash shell on a CentOS7 server, and yes, I'm sure I'm using the correct integration.

it's loaded automatically on login using .bashrc wit this command source ~/extraterm-commands-latest/setup_extraterm_bash.sh

My local installation is done on windows not the wsl environment.

WarDrake avatar Aug 06 '21 23:08 WarDrake