dsanson / termpdf.py

A graphical pdf and epub reader that works inside the kitty terminal
MIT License
496 stars 30 forks source link

fix wezterm hang by not waiting on cmd response #44

Open sschober opened 8 months ago

sschober commented 8 months ago

wezterm does not send a response to the image display command, so the termpdf.py read command hangs indefinitely, making it unresponsive.

this fix replaces the call to write_gr_cmd_with_response by a call to write_gr_cmd, which does not wait for a response.