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

Flashing Cursor in Graph Example #937

Open
Disservin opened this issue Oct 14, 2024 · 3 comments
Open

Flashing Cursor in Graph Example #937

Disservin opened this issue Oct 14, 2024 · 3 comments

Comments

@Disservin
Copy link

Hi,

I am currently giving the graph example from here https://github.com/ArthurSonzogni/FTXUI/blob/main/examples/dom/graph.cpp a shot but it leads to some weird cursor behavior.. it is constantly flashing allover the screen see:

2024-10-14.17-58-51.mp4

Environment:

WSL 2.0 with Windows Terminal.

If you need some more information please let me know.

@Disservin
Copy link
Author

I did try the example in another terminal (Tabby) in this case and it works as expected.. not sure what is wrong for the windows terminal

@Disservin
Copy link
Author

The homescreen example doesn't have this, presumably because the cursor is fixed to one of the tabs?

@Disservin
Copy link
Author

Doing something like auto cursor = ftxui::Screen::Cursor{.shape = ftxui::Screen::Cursor::Shape::Hidden}; hides the cursor in this case, but I wonder if that is the correct behavior..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant