Bug 391019 - Inconsistent prompt line ending (compared to other terminal emulators) with extra spaces
Summary: Inconsistent prompt line ending (compared to other terminal emulators) with e...
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: emulation (show other bugs)
Version: 17.12.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-24 18:44 UTC by Rui Zhao
Modified: 2020-12-03 04:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Illustration of the behavior with zsh and powerline (55.74 KB, image/png)
2018-02-24 18:44 UTC, Rui Zhao
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rui Zhao 2018-02-24 18:44:30 UTC
Created attachment 110977 [details]
Illustration of the behavior with zsh and powerline

I'm using zsh and powerline. I set some right widgets in powerline and they should be displayed precisly to the right boarder of the console screen.

However, in Konsole, there is one extra space displayed to the right of the widgets. More strangely, there are two extra spaces for the second line of the powerline prompt.
In other terminal emulators, there are no these extra spaces.

In (the first part of) the attached screenshot, there are altogether two extra spaces for the first line and three extra spaces for the second line. One of (each of) them is a bug related to powerline itself, which also exists in the other terminal emulator (Terminator).


I also tested bash with powerline. This time, the second line doesn't contain the correct widgets so I can't tell if there are extra spaces there. But the first line still has the (one) extra space.
Comment 1 Rui Zhao 2018-02-24 18:49:08 UTC
Worth to mention: powerline doesn't have the "extra one space" bug in bash, so I presume the extra spaces are purely generated by the terminal emulator (konsole generates that; terminator doesn't).
More information on this: https://github.com/powerline/powerline/issues/1886
Comment 2 Justin Zobel 2020-11-03 02:06:41 UTC
Can you please confirm this is still an issue on recent powerline/zsh/konsole, thanks.
Comment 3 Bug Janitor Service 2020-11-18 04:33:47 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2020-12-03 04:34:04 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!