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

How to disable this error(warning)? #86

Closed
bropines opened this issue Sep 18, 2022 · 4 comments
Closed

How to disable this error(warning)? #86

bropines opened this issue Sep 18, 2022 · 4 comments

Comments

@bropines
Copy link

IMG_20220918_102927
This annoying warning bothers me very much. Is there any parameter hiding warnings?
Termux, v 1.4.4
Warning "Terminal does not support pixel size query, but graphics protocol requested.
Can't show animations or have columns in grid."

@hzeller
Copy link
Owner

hzeller commented Sep 18, 2022

Maybe I should only actually trigger the warning in case column mode or animation is requested in the first place, I'll have a look into that.

This warning is triggered because the terminal, on request with TIOCGWINSZ, does not fill in the fields ws_xpixel and ws_ypixel, which would probably good to file as issue to the termux developers.

@hzeller
Copy link
Owner

hzeller commented Sep 18, 2022

Alright, now the warning only will show up if there was an animation that could only display its first frame or if multi-column mode was requested.

The real solution though is for you to file a ticket with termux to implement the TIOCGWINSZ information.

@hzeller
Copy link
Owner

hzeller commented Sep 22, 2022

Also, if you file issues with termux, ask them to implement the \033[>q CSI query, that way we could detect termux and automatically switch to -pi mode.

@bropines
Copy link
Author

Also, if you file issues with termux, ask them to implement the \033[>q CSI query, that way we could detect termux and automatically switch to -pi mode.

I think I'll open an issue tomorrow and leave links to this discussion.

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

2 participants