termpdf.py icon indicating copy to clipboard operation
termpdf.py copied to clipboard

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

Open Vaisakhkm2625 opened this issue 1 year ago • 0 comments

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 https://github.com/dsanson/termpdf.py/pull/44 trying to fix....

Vaisakhkm2625 avatar Jan 09 '24 15:01 Vaisakhkm2625