oh-my-fish / theme-bobthefish

A Powerline-style, Git-aware fish theme optimized for awesome.
MIT License
1.46k stars 225 forks source link

Either Bobthefish or omf error?! #287

Closed Dan1jel closed 3 years ago

Dan1jel commented 3 years ago

Sometimes when I use an command for ex "scp user*server:/test/folder/file.txt ." And in this example, say the file name is file1.txt"

I press the button "up" to get my last command, but when I edit "file" to "file1" i see an text error in ex server looking lien this ->

"scp user*srver:/test/folder/file1.txt ."

When I edit to correct "server" and run the command, the server is with 2 "ee". Is this theme wise or maybe omf error?

I use fish, omf and Bobthefish on my phone with termux.

bobthecow commented 3 years ago

This sounds like either Fish or your terminal emulator forgetting how wide the line is during redraw. My money is on Termux, as I've never seen this issue personally.

The bug is almost certainly not in bobthefish, though it is probably triggered by our heavy use of weird characters. You could confirm by disabling powerline and geekfonts support. That should make everything fall back to ascii, and I bet your issue goes away.

As far as fixing it for good, maybe look for a setting like "treat ambiguous characters as full width" in Termux?

Dan1jel commented 3 years ago

Thank you for the reply. Yes I do think it's termux thats not really compatible with fish or other things completely. Buy i will see if I can find anything regarding you tips, thanks so for and helping me where to look :) i get back to this topic when I find an answer.

Edit: typo

Dan1jel commented 3 years ago

An issue have been created (is that how you say it..?!) on termux-app github, this one can be closed because I think this is not related to this awesome theme. Hope they solve this soon (using bash untill this is fixed.)

https://github.com/termux/termux-app/issues/1860