Skip to content
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

Broken TUI lines in Gentoo Linux #740

Open
honggyukim opened this issue May 2, 2019 · 2 comments
Open

Broken TUI lines in Gentoo Linux #740

honggyukim opened this issue May 2, 2019 · 2 comments
Labels

Comments

@honggyukim
Copy link
Collaborator

In Gentoo Linux, TUI output looks as follows:

  TOTAL TIME : FUNCTION
    5.784 us : (1) t-abc
    1.702 us :   ~T~\ ~T~@(1) __monstartup
             :   ~T~B
    0.910 us :   ~T~\ ~T~@(1) __cxa_atexit
             :   ~T~B
    3.172 us :   ~T~T ~T~@(1) main
    2.772 us :    (1) a
    2.417 us :    (1) b
    1.952 us :    (1) c
    0.832 us :    (1) getpid

It uses libncursesw.so.6 as follows:

$ ldd uftrace
        ...
    libncursesw.so.6 => /lib64/libncursesw.so.6 (0x00007f2d3be03000)
        ...
@honggyukim
Copy link
Collaborator Author

If we can detect if the line cannot be printed correctly, it'd be better to fall back to using normal characters.

@honggyukim
Copy link
Collaborator Author

The lines in tig program looks fine, so it may be our problem not related to the library installed in system.

@honggyukim honggyukim added the tui label May 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant