When switching to Fish shell the prompt shows spurious characters
Bug description
When dropping to fish the shell prompt has spurious characters and the commands
in the history do not display correctly
Steps to reproduce
- Log in to an SSH server with ConnectBot
- Dropping to fish shell
- Prompt has spurious charactes
Expected behavior
Uaing a Linux ssh client and dropping to fish works normally.
Screenshots
The screenshot shows the result after typing fish and a few carriage returns:
Android device
- Device: Motorola g Power 5G
- OS: Android 15
- ConnectBot Version: 1.9.10-oss
Server information
- OS: Archlinux
- SSH Software and Version: OpenSSH 10.0p1
- Pubkeys used (if applicable):
Additional context
locale is en_US.utf8 and TERM is xterm
Same problem. Fish v4 on Fedora. All emulation modes have this problem.
Yes, same for me Connectbot is installed from github, version 1.9.12
1.9.12-oss installed from f-droid.
Same issue 4;1m on a fish prompt. We use fish as the default shell on a bunch of machines. This is machine and prompt independent as those change, we get tge same results in connectbot Other SSH clients are unaffected.
It looks like an VT escape sequence that vt220.java is not handling.
Same for me. Arch Linux with fish 4.1.2. Connectbot on android is installed from Google Play, tested both beta and normal versions - same thing.
Thanks, I can reproduce this by running fish. I'll try to fix it in the next minor release.
Fixed by #1660
Here's what it looks like with the new terminal emulator and configured fonts (issue #458)
Nice, thank you!