-
Notifications
You must be signed in to change notification settings - Fork 480
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
uftrace tui in docker shows ~T~\ ~T~@(1) instead of pseudographics #1870
Comments
ps. Btw, just a UI/UX thought: It would be easier to understand TUI navigation if
|
One more thought or maybe this is the TUI bug? Hard to tell since I never seen other behavior. (Context) I want to analyze very huge trace (of So I want everything collapsed in Graph view (G) but when I press This is all in docker. Also (reversed selection cursor) line cross the window width to the next line sometimes (sometimes not) when scrolling. (Maybe this all related to the terminal mishandling.) |
Thanks for the report and the suggestions. I don't know what happened on the docker environment but can you please check your locale settings? |
But this prompted me to try other locale:
After this TUI graph is the same broken. But I notice error message, they are due to absence of
After this (still with
Thanks for the suggestions! After this install and with
It seems that we don't have I checked other distros, Fedora have |
I realized I could |
Ok, sounds like we can check if |
I'd like to contribute to resolving this issue. Based on the discussion, it seems checking for UTF-8 in the LANG environment variable before using Unicode glyphs could be a potential solution. I'm willing to work on implementing this check and updating the TUI rendering accordingly. Let me know if this approach sounds good, and I'll start working on a pull request. |
Sounds good, please go ahead. |
This commit addresses the issue namhyung#1870 where the TUI displays incorrect characters in non-UTF-8 locales. The fix includes: - Checking the current locale - Using ASCII characters for graph display in non-UTF-8 locales - Adjusting character widths accordingly Fixes: namhyung#1870 Signed-off-by: Gabriel Kim <[email protected]>
This commit addresses the issue namhyung#1870 where the TUI displays incorrect characters in non-UTF-8 locales. The fix includes: - Checking the current locale - Using ASCII characters for graph display in non-UTF-8 locales - Adjusting character widths accordingly Fixes: namhyung#1870 Signed-off-by: 0xGabriel <[email protected]>
This commit addresses the issue namhyung#1870 where the TUI displays incorrect characters in non-UTF-8 locales. The fix includes: - Checking the current locale - Using ASCII characters for graph display in non-UTF-8 locales - Adjusting character widths accordingly Fixes: namhyung#1870 Signed-off-by: 0xGabriel <[email protected]>
This commit addresses the issue namhyung#1870 where the TUI displays incorrect characters in non-UTF-8 locales. The fix includes: - Checking the current locale - Using ASCII characters for graph display in non-UTF-8 locales - Adjusting character widths accordingly Fixes: namhyung#1870 Signed-off-by: Gabriel Kim <[email protected]>
This commit addresses the issue namhyung#1870 where the TUI displays incorrect characters in non-UTF-8 locales. The fix includes: - Checking the current locale - Using ASCII characters for graph display in non-UTF-8 locales - Adjusting character widths accordingly Fixes: namhyung#1870 Signed-off-by: Gabriel <[email protected]>
This commit addresses the issue namhyung#1870 where the TUI displays incorrect characters in non-UTF-8 locales. The fix includes: - Checking the current locale - Using ASCII characters for graph display in non-UTF-8 locales - Adjusting character widths accordingly Fixes: namhyung#1870 Signed-off-by: Gabriel <[email protected]>
This commit addresses the issue namhyung#1870 where the TUI displays incorrect characters in non-UTF-8 locales. The fix includes: - Checking the current locale - Using ASCII characters for graph display in non-UTF-8 locales - Adjusting character widths accordingly Fixes: namhyung#1870 Signed-off-by: Gabriel <[email protected]>
This commit addresses the issue namhyung#1870 where the TUI displays incorrect characters in non-UTF-8 locales. The fix includes: - Checking the current locale - Using ASCII characters for graph display in non-UTF-8 locales - Adjusting character widths accordingly Fixes: namhyung#1870 Signed-off-by: GabrielKim <[email protected]>
This commit addresses the issue namhyung#1870 where the TUI displays incorrect characters in non-UTF-8 locales. The fix includes: - Checking the current locale - Using ASCII characters for graph display in non-UTF-8 locales - Adjusting character widths accordingly Fixes: namhyung#1870 Signed-off-by: GabrielKim <[email protected]>
This commit addresses the issue namhyung#1870 where the TUI displays incorrect characters in non-UTF-8 locales. The fix includes: - Checking the current locale - Using ASCII characters for graph display in non-UTF-8 locales - Adjusting character widths accordingly Fixes: namhyung#1870 Signed-off-by: GabrielKim <[email protected]>
This commit addresses the issue namhyung#1870 where the TUI displays incorrect characters in non-UTF-8 locales. The fix includes: - Checking the current locale - Using ASCII characters for graph display in non-UTF-8 locales - Adjusting character widths accordingly Fixes: namhyung#1870 Signed-off-by: Gabriel Kim <[email protected]>
uftrace tui
in docker displays like this:TERM
isxterm
,terminfo
is installed. There is no otherTERM*
env variables. It looked OK without docker. Maybe I'm missing something but I don't understand what.Maybe there could be a option to force ascii or pseudographic lines?
The text was updated successfully, but these errors were encountered: