-
Notifications
You must be signed in to change notification settings - Fork 947
Way to align right hand segments with edge of terminal #110
Comments
@keirlawson the right hand indent is controlled by the variable From the manpage:
|
For the protocol: There was an interesting conversation on the mailing list in late 2013 about how to simulate the behavior of |
@keirlawson - It's not just a problem with gnome-terminal - it actually exists in a every emulator I have used ZSH in, to date. As @dritter said, it seems to be a ZSH drawing issue. @dritter - I don't think we can work around this safely in our theme, as it will change from emulator to emulator. Do you agree? If so, I'm afraid this bug is something we can't address. |
Unfortunately, I don't think this is something we can fix in our theme. |
Is this something that still can't be fixed? |
@Pk13055 Unfortunately not from our side. At least not easy. There are workarounds out there, but I haven't tested these in a long time.. Also, I haven't tried setting |
|
@softmoth Setting it to Edit: It looks like the lack of empty space in the rightmost column confuses Terminal.app (macOS 10.14.4) when using GUI-level functions related to clearing text (e.g.: Clear to Start, Clear to Previous Mark, etc.) |
Ha! I thought something like that might be possible, but I was trying it with a null (\u0000), and that didn’t work. Anyway, I haven’t pulled in a while, so I’ll check and see if that’s had an effect. Thanks! |
When ZLE_RPROMPT_INDENT is 0, it offsets the right prompt and the cursor by 1 (right prompt one to the right, cursor one to the left, not sure why this is the behavior) which makes the cursor appear in the wrong place. When you set it to -1 instead, it doesn't, figured this out from [1]. [1]: Powerlevel9k/powerlevel9k#110 (comment)
Using this theme with gnome terminal I am finding there is a one character gap between the right hand segment and the edge of the terminal. Is there any way to get rid of this?
The text was updated successfully, but these errors were encountered: