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

termpdf can't detect non supported terminals.... #46

Open
Vaisakhkm2625 opened this issue Jan 9, 2024 · 0 comments
Open

termpdf can't detect non supported terminals.... #46

Vaisakhkm2625 opened this issue Jan 9, 2024 · 0 comments

Comments

@Vaisakhkm2625
Copy link

I have been reading through code and find this

def detect_support():
    return write_gr_cmd_with_response(dict(a='q', s=1, v=1, i=1), standard_b64encode(b'abcd'))

For terminals that doesn't support kitty protocol won't give a response... so this function will hangs... is it ok to wait for a fixed time for response and if there is no response resume the control flow??
i think this is the same issue this pull request #44
trying to fix....

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