Please do not show icon font logo by default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| byobu |
Wishlist
|
Unassigned |
Bug Description
When the server is a distro with a custom multi-Unicode-
1) When the term software doesn't do soft wrap AND used Unicode-compliant line width count method: the right few characters of the status bar will be out of window bound thus hidden from user
2) When the term software doesn't do soft wrap AND calculates line width by codepoints: there might be a horizontal scrollbar which results in broken CUI and sometimes misoperation (think you can't see the first column of the terminal output)
3) When the term software does soft wrap: every time when status bar text changes it will be moving up by one line. The user cannot correctly see terminal output since every second the caret changes position, and cannot effectively configure byobu to fix the problem. (The default Linux TTY is of this type.)
So, to avoid these problems, I suggest that by default these type of distro icons are not enabled, or at least use ASCII texts by default.
Related branches
Changed in byobu: | |
importance: | Undecided → Wishlist |
Dustin Kirkland (kirkland) wrote : | #1 |
Changed in byobu: | |
status: | New → Triaged |
status: | Triaged → Won't Fix |
status: | Won't Fix → Fix Committed |
StarBrilliant (m13253) wrote : | #2 |
One possible solution is to issue an ANSI escape sequence "\x1b[4G" immediately after the logo is print, to reset the cursor position. (4 is the horizontal coordinate, you can change it accordingly.)
In case icon font is not installed or Unicode support is broken (Windows console renders any Unicode codepoint beyond U+FFFF as two broken characters, no matter in which code page, even with latest Windows 10), the cursor still gets reset to the correct position so no line wrap would happen.
James Swineson (jamesits) wrote : | #3 |
Also the double exclamation mark character "‼" causes the same issue under the default Linux screen console.
Right.
It would be nice if we could detect this and do the right thing.
I guess we could use a circle, as an approximation of the Ubuntu logo.