gnunn1 / tilix

A tiling terminal emulator for Linux using GTK+ 3
https://gnunn1.github.io/tilix-web
Mozilla Public License 2.0
5.41k stars 293 forks source link

Random % sign when opening tilix with zsh as shell #1751

Open scott-tancock opened 5 years ago

scott-tancock commented 5 years ago

Problem Description

When opening tilix with zsh as the default shell (or by setting custom command to /bin/zsh in the profile settings), a % sign with inverted color (as through it's been highlighted) appears on the first line, with the prompt appearing on the second line:

Screenshot from 2019-09-05 11-54-02

Steps to Reproduce

Expected Outcome

Actual outcome

Reproducability

Viibrant commented 4 years ago

I have this exact issue as well but with Hyper.js

hibuna commented 3 weeks ago

I had the same (zsh) after changing a password of a SSH key using ssh-keygen -p. Rebooting debian (WSL) fixed it.

algj commented 3 weeks ago

Does not seem like an issue with tilix, but a feature of zsh: PROMPT_EOL_MARK tells if previous command did or did not have a trailing newline.

Setting PROMPT_EOL_MARK='' shall fix the issue.