Skip to content

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

@Vaisakhkm2625

Description

@Vaisakhkm2625

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....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions