mobile-shell / mosh

Mobile Shell
https://mosh.org
GNU General Public License v3.0
12.6k stars 728 forks source link

mosh + neofetch gives unexpected behaviour #1274

Closed oregonpillow closed 1 year ago

oregonpillow commented 1 year ago

I'm using neofetch in combination with oh-my-zsh, and it works except the rendering of the image when i use mosh. I don't particularly understand why this is happening. When i use normal SSH, the image renders perfectly fine in my client terminal (iTerm2).

Any suggestions or ideas what might be causing this? Thanks!


Normal SSH normal SSH

Using Mosh (image rendering broken, defaults to text art)

Screenshot 2023-05-26 at 13 19 37
achernya commented 1 year ago

Mosh does not support either sixel or kitty graphics protocol. See #1081 and #1248 .

oregonpillow commented 1 year ago

Thanks @achernya I was already aware of this. However I'm using iTerm2 not sixel or kitty unless iTerm2 uses sixel in it's backend.

achernya commented 1 year ago

My mistake, I thought iterm2 used sixel but apparently it's a custom separate protocol: https://iterm2.com/documentation-images.html

The situation remains the same: mosh doesn't support any of these image protocol extensions and adding support for them is difficult as outlined in the referenced bugs.