Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues on dpoggi theme #4529

Closed
leoheck opened this issue Oct 21, 2015 · 4 comments
Closed

Issues on dpoggi theme #4529

leoheck opened this issue Oct 21, 2015 · 4 comments
Labels
Support Request for support

Comments

@leoheck
Copy link

leoheck commented Oct 21, 2015

I usually use the dpogi theme but it looses itself sometimes.
It looks like this where the pipe is the input prompt.

leco@gaphl12:~ » |

Somtimes, the prompt goes before the » character.

leco@gaphl12:~ | » 

Somtimes, some substring from last command polutes the command line, like this example with a cat:

leco@gaphl12:~ » cat|cat myfile.txt

Someone knows how to improve the theme?

@leoheck leoheck changed the title Issues on Theme dpoggi Issues on dpoggi theme Oct 21, 2015
@apjanke
Copy link
Contributor

apjanke commented Oct 31, 2015

Hmmm. Might be your terminal emulator or zsh itself getting confused about cursor location because of ambiguous widths of some of those special characters in the prompt, or some non-printable character isn't getting guarded correctly? The prompt string itself looks like it's all properly protected.

What OS, terminal emulator, and font are you using?

Are there any command sequences which can reliably reproduce the bad behavior?

@leoheck
Copy link
Author

leoheck commented Nov 1, 2015

This usually happens in TERM=xterm-256color. Which has xterm version XTerm(215)
running on CentOS 5.10 (very old OS) with zsh 4.2.6 (x86_64-redhat-linux-gnu). The font I don't know how to get.

But (I think) this glitches happens on my Ubuntu 14.04 with XTerm(297) with zsh 5.0.2 (x86_64-pc-linux-gnu

Actually, I think the problem is related to commands which have multiples lines

@neochar
Copy link

neochar commented Jan 9, 2019

This usually happens in TERM=xterm-256color

Thanks @leoheck, I fixed it by changing TERM value to default one.

@mcornella
Copy link
Member

I can't reproduce this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support Request for support
Projects
None yet
Development

No branches or pull requests

4 participants