sergei-grechanik / tupimage

A utility to upload and display terminal images using the unicode placeholder extension of the kitty graphics protocol
MIT No Attribution
9 stars 1 forks source link

Doesn't work in tmux for me #1

Closed trygveaa closed 2 years ago

trygveaa commented 2 years ago

It seems tupimage can't get a response from kitty when running in tmux for me. I'm running your unicode-placeholders branch of kitty and main of tupimage, and displaying images work outside of tmux. This is the output when running tupimage with -V:

252189 1665597823.162 
252189 1665597823.163 max_cols: 106
252189 1665597823.164 max_rows: 57
252189 1665597823.166 Image file: /home/trygve/images/20210923_12h30m12s_grim.png (pwd: /home/trygve/dev/kitty)
252189 1665597823.252 Image pixel width: 3840 pixel height: 2160
252189 1665597823.254 Image x ppi: 72 y ppi: 72
252189 1665597823.255 Columns per inch: 12.0 Rows per inch: 6.0
252189 1665597823.260 Image size before applying min/max columns: 640, rows: 180
252189 1665597823.262 Image size columns: 106, rows: 30
252189 1665597823.264 In tty, disabling echo
252189 1665597823.274 terminal_id=tmux-256color-
252189 1665597823.275 session_id=tmux-256color-
252189 1665597823.281 Image md5sum: e2374808e2a74fddfab86a400dd7a2be
252189 1665597823.283 Searching for a free image id
252189 1665597823.286 Found an existing image id 14021515
252189 1665597823.288 Found an image id 14021515
252189 1665597823.294 Trying file-based uploading
252189 1665597823.301 SENDING COMMAND: ^[_Ga=T,U=1,i=14021515,f=100,t=f,c=106,r=30,S=793850;L2hvbWUvdHJ5Z3ZlLy5jYWNoZS90dXBpbWFnZS9jYWNoZS9lMjM3NDgwOGUyYTc0ZmRkZmFiODZhNDAwZGQ3YTJiZQ==^[\
252189 1665597823.302 Awaiting terminal response
252189 1665597826.309 
error: File-based uploading error: No response from terminal
252189 1665597826.317 error: File-based uploading error: No response from terminal
252189 1665597826.319 
error: All attempts to upload the image failed
252189 1665597826.322 error: All attempts to upload the image failed
252189 1665597826.325 
̅̅̅̍̅̎̅̐̅̒̅̽̅̾̅̿̅͆̅͊̅͋̅͌̅͐̅͑̅͒̅͗̅͛̅ͣ̅ͤ̅ͥ̅ͦ̅ͧ̅ͨ̅ͩ̅ͪ̅ͫ̅ͬ̅ͭ̅ͮ̅ͯ̅҃̅҄̅҅̅҆̅҇̅֒̅֓̅֔̅֕̅֗̅֘̅֙̅֜̅֝̅֞̅֟̅֠̅֡̅֨̅֩̅֫̅֬̅֯̅ׄ̅ؐ̅ؑ̅ؒ̅ؓ̅ؔ̅ؕ̅ؖ̅ؗ̅ٗ̅٘̅ٙ̅ٚ̅ٛ̅ٝ̅ٞ̅ۖ̅ۗ̅ۘ̅ۙ̅ۚ̅ۛ̅ۜ̅۟̅۠̅ۡ̅ۢ̅ۤ̅ۧ̅ۨ̅۫̅۬̅ܰ̅ܲ̅ܳ̅ܵ̅ܶ̅ܺ̅ܽ̅ܿ̅݀̅݁̅݃̅݅̅݇̅݉̅݊̅߫̅߬̅߭̅߮̅߯̅߰
̍̅̍̍̍̎̍̐̍̒̍̽̍̾̍̿̍͆̍͊̍͋̍͌̍͐̍͑̍͒̍͗̍͛̍ͣ̍ͤ̍ͥ̍ͦ̍ͧ̍ͨ̍ͩ̍ͪ̍ͫ̍ͬ̍ͭ̍ͮ̍ͯ̍҃̍҄̍҅̍҆̍҇̍֒̍֓̍֔̍֕̍֗̍֘̍֙̍֜̍֝̍֞̍֟̍֠̍֡̍֨̍֩̍֫̍֬̍֯̍ׄ̍ؐ̍ؑ̍ؒ̍ؓ̍ؔ̍ؕ̍ؖ̍ؗ̍ٗ̍٘̍ٙ̍ٚ̍ٛ̍ٝ̍ٞ̍ۖ̍ۗ̍ۘ̍ۙ̍ۚ̍ۛ̍ۜ̍۟̍۠̍ۡ̍ۢ̍ۤ̍ۧ̍ۨ̍۫̍۬̍ܰ̍ܲ̍ܳ̍ܵ̍ܶ̍ܺ̍ܽ̍ܿ̍݀̍݁̍݃̍݅̍݇̍݉̍݊̍߫̍߬̍߭̍߮̍߯̍߰
̎̅̎̍̎̎̎̐̎̒̎̽̎̾̎̿̎͆̎͊̎͋̎͌̎͐̎͑̎͒̎͗̎͛̎ͣ̎ͤ̎ͥ̎ͦ̎ͧ̎ͨ̎ͩ̎ͪ̎ͫ̎ͬ̎ͭ̎ͮ̎ͯ̎҃̎҄̎҅̎҆̎҇̎֒̎֓̎֔̎֕̎֗̎֘̎֙̎֜̎֝̎֞̎֟̎֠̎֡̎֨̎֩̎֫̎֬̎֯̎ׄ̎ؐ̎ؑ̎ؒ̎ؓ̎ؔ̎ؕ̎ؖ̎ؗ̎ٗ̎٘̎ٙ̎ٚ̎ٛ̎ٝ̎ٞ̎ۖ̎ۗ̎ۘ̎ۙ̎ۚ̎ۛ̎ۜ̎۟̎۠̎ۡ̎ۢ̎ۤ̎ۧ̎ۨ̎۫̎۬̎ܰ̎ܲ̎ܳ̎ܵ̎ܶ̎ܺ̎ܽ̎ܿ̎݀̎݁̎݃̎݅̎݇̎݉̎݊̎߫̎߬̎߭̎߮̎߯̎߰
̐̅̐̍̐̎̐̐̐̒̐̽̐̾̐̿̐͆̐͊̐͋̐͌̐͐̐͑̐͒̐͗̐͛̐ͣ̐ͤ̐ͥ̐ͦ̐ͧ̐ͨ̐ͩ̐ͪ̐ͫ̐ͬ̐ͭ̐ͮ̐ͯ̐҃̐҄̐҅̐҆̐҇̐֒̐֓̐֔̐֕̐֗̐֘̐֙̐֜̐֝̐֞̐֟̐֠̐֡̐֨̐֩̐֫̐֬̐֯̐ׄ̐ؐ̐ؑ̐ؒ̐ؓ̐ؔ̐ؕ̐ؖ̐ؗ̐ٗ̐٘̐ٙ̐ٚ̐ٛ̐ٝ̐ٞ̐ۖ̐ۗ̐ۘ̐ۙ̐ۚ̐ۛ̐ۜ̐۟̐۠̐ۡ̐ۢ̐ۤ̐ۧ̐ۨ̐۫̐۬̐ܰ̐ܲ̐ܳ̐ܵ̐ܶ̐ܺ̐ܽ̐ܿ̐݀̐݁̐݃̐݅̐݇̐݉̐݊̐߫̐߬̐߭̐߮̐߯̐߰
̒̅̒̍̒̎̒̐̒̒̒̽̒̾̒̿̒͆̒͊̒͋̒͌̒͐̒͑̒͒̒͗̒͛̒ͣ̒ͤ̒ͥ̒ͦ̒ͧ̒ͨ̒ͩ̒ͪ̒ͫ̒ͬ̒ͭ̒ͮ̒ͯ̒҃̒҄̒҅̒҆̒҇̒֒̒֓̒֔̒֕̒֗̒֘̒֙̒֜̒֝̒֞̒֟̒֠̒֡̒֨̒֩̒֫̒֬̒֯̒ׄ̒ؐ̒ؑ̒ؒ̒ؓ̒ؔ̒ؕ̒ؖ̒ؗ̒ٗ̒٘̒ٙ̒ٚ̒ٛ̒ٝ̒ٞ̒ۖ̒ۗ̒ۘ̒ۙ̒ۚ̒ۛ̒ۜ̒۟̒۠̒ۡ̒ۢ̒ۤ̒ۧ̒ۨ̒۫̒۬̒ܰ̒ܲ̒ܳ̒ܵ̒ܶ̒ܺ̒ܽ̒ܿ̒݀̒݁̒݃̒݅̒݇̒݉̒݊̒߫̒߬̒߭̒߮̒߯̒߰
̽̅̽̍̽̎̽̐̽̒̽̽̽̾̽̿̽͆̽͊̽͋̽͌̽͐̽͑̽͒̽͗̽͛̽ͣ̽ͤ̽ͥ̽ͦ̽ͧ̽ͨ̽ͩ̽ͪ̽ͫ̽ͬ̽ͭ̽ͮ̽ͯ̽҃̽҄̽҅̽҆̽҇̽֒̽֓̽֔̽֕̽֗̽֘̽֙̽֜̽֝̽֞̽֟̽֠̽֡̽֨̽֩̽֫̽֬̽֯̽ׄ̽ؐ̽ؑ̽ؒ̽ؓ̽ؔ̽ؕ̽ؖ̽ؗ̽ٗ̽٘̽ٙ̽ٚ̽ٛ̽ٝ̽ٞ̽ۖ̽ۗ̽ۘ̽ۙ̽ۚ̽ۛ̽ۜ̽۟̽۠̽ۡ̽ۢ̽ۤ̽ۧ̽ۨ̽۫̽۬̽ܰ̽ܲ̽ܳ̽ܵ̽ܶ̽ܺ̽ܽ̽ܿ̽݀̽݁̽݃̽݅̽݇̽݉̽݊̽߫̽߬̽߭̽߮̽߯̽߰
̾̅̾̍̾̎̾̐̾̒̾̽̾̾̾̿̾͆̾͊̾͋̾͌̾͐̾͑̾͒̾͗̾͛̾ͣ̾ͤ̾ͥ̾ͦ̾ͧ̾ͨ̾ͩ̾ͪ̾ͫ̾ͬ̾ͭ̾ͮ̾ͯ̾҃̾҄̾҅̾҆̾҇̾֒̾֓̾֔̾֕̾֗̾֘̾֙̾֜̾֝̾֞̾֟̾֠̾֡̾֨̾֩̾֫̾֬̾֯̾ׄ̾ؐ̾ؑ̾ؒ̾ؓ̾ؔ̾ؕ̾ؖ̾ؗ̾ٗ̾٘̾ٙ̾ٚ̾ٛ̾ٝ̾ٞ̾ۖ̾ۗ̾ۘ̾ۙ̾ۚ̾ۛ̾ۜ̾۟̾۠̾ۡ̾ۢ̾ۤ̾ۧ̾ۨ̾۫̾۬̾ܰ̾ܲ̾ܳ̾ܵ̾ܶ̾ܺ̾ܽ̾ܿ̾݀̾݁̾݃̾݅̾݇̾݉̾݊̾߫̾߬̾߭̾߮̾߯̾߰
̿̅̿̍̿̎̿̐̿̒̿̽̿̾̿̿̿͆̿͊̿͋̿͌̿͐̿͑̿͒̿͗̿͛̿ͣ̿ͤ̿ͥ̿ͦ̿ͧ̿ͨ̿ͩ̿ͪ̿ͫ̿ͬ̿ͭ̿ͮ̿ͯ̿҃̿҄̿҅̿҆̿҇̿֒̿֓̿֔̿֕̿֗̿֘̿֙̿֜̿֝̿֞̿֟̿֠̿֡̿֨̿֩̿֫̿֬̿֯̿ׄ̿ؐ̿ؑ̿ؒ̿ؓ̿ؔ̿ؕ̿ؖ̿ؗ̿ٗ̿٘̿ٙ̿ٚ̿ٛ̿ٝ̿ٞ̿ۖ̿ۗ̿ۘ̿ۙ̿ۚ̿ۛ̿ۜ̿۟̿۠̿ۡ̿ۢ̿ۤ̿ۧ̿ۨ̿۫̿۬̿ܰ̿ܲ̿ܳ̿ܵ̿ܶ̿ܺ̿ܽ̿ܿ̿݀̿݁̿݃̿݅̿݇̿݉̿݊̿߫̿߬̿߭̿߮̿߯̿߰
͆̅͆̍͆̎͆̐͆̒͆̽͆̾͆̿͆͆͆͊͆͋͆͌͆͐͆͑͆͒͆͗͆͛͆ͣ͆ͤ͆ͥ͆ͦ͆ͧ͆ͨ͆ͩ͆ͪ͆ͫ͆ͬ͆ͭ͆ͮ͆ͯ͆҃͆҄͆҅͆҆͆҇͆֒͆֓͆֔͆֕͆֗͆֘͆֙͆֜͆֝͆֞͆֟͆֠͆֡͆֨͆֩͆֫͆֬͆֯͆ׄ͆ؐ͆ؑ͆ؒ͆ؓ͆ؔ͆ؕ͆ؖ͆ؗ͆ٗ͆٘͆ٙ͆ٚ͆ٛ͆ٝ͆ٞ͆ۖ͆ۗ͆ۘ͆ۙ͆ۚ͆ۛ͆ۜ͆۟͆۠͆ۡ͆ۢ͆ۤ͆ۧ͆ۨ͆۫͆۬͆ܰ͆ܲ͆ܳ͆ܵ͆ܶ͆ܺ͆ܽ͆ܿ͆݀͆݁͆݃͆݅͆݇͆݉͆݊͆߫͆߬͆߭͆߮͆߯͆߰
͊̅͊̍͊̎͊̐͊̒͊̽͊̾͊̿͊͆͊͊͊͋͊͌͊͐͊͑͊͒͊͗͊͛͊ͣ͊ͤ͊ͥ͊ͦ͊ͧ͊ͨ͊ͩ͊ͪ͊ͫ͊ͬ͊ͭ͊ͮ͊ͯ͊҃͊҄͊҅͊҆͊҇͊֒͊֓͊֔͊֕͊֗͊֘͊֙͊֜͊֝͊֞͊֟͊֠͊֡͊֨͊֩͊֫͊֬͊֯͊ׄ͊ؐ͊ؑ͊ؒ͊ؓ͊ؔ͊ؕ͊ؖ͊ؗ͊ٗ͊٘͊ٙ͊ٚ͊ٛ͊ٝ͊ٞ͊ۖ͊ۗ͊ۘ͊ۙ͊ۚ͊ۛ͊ۜ͊۟͊۠͊ۡ͊ۢ͊ۤ͊ۧ͊ۨ͊۫͊۬͊ܰ͊ܲ͊ܳ͊ܵ͊ܶ͊ܺ͊ܽ͊ܿ͊݀͊݁͊݃͊݅͊݇͊݉͊݊͊߫͊߬͊߭͊߮͊߯͊߰
͋̅͋̍͋̎͋̐͋̒͋̽͋̾͋̿͋͆͋͊͋͋͋͌͋͐͋͑͋͒͋͗͋͛͋ͣ͋ͤ͋ͥ͋ͦ͋ͧ͋ͨ͋ͩ͋ͪ͋ͫ͋ͬ͋ͭ͋ͮ͋ͯ͋҃͋҄͋҅͋҆͋҇͋֒͋֓͋֔͋֕͋֗͋֘͋֙͋֜͋֝͋֞͋֟͋֠͋֡͋֨͋֩͋֫͋֬͋֯͋ׄ͋ؐ͋ؑ͋ؒ͋ؓ͋ؔ͋ؕ͋ؖ͋ؗ͋ٗ͋٘͋ٙ͋ٚ͋ٛ͋ٝ͋ٞ͋ۖ͋ۗ͋ۘ͋ۙ͋ۚ͋ۛ͋ۜ͋۟͋۠͋ۡ͋ۢ͋ۤ͋ۧ͋ۨ͋۫͋۬͋ܰ͋ܲ͋ܳ͋ܵ͋ܶ͋ܺ͋ܽ͋ܿ͋݀͋݁͋݃͋݅͋݇͋݉͋݊͋߫͋߬͋߭͋߮͋߯͋߰
͌̅͌̍͌̎͌̐͌̒͌̽͌̾͌̿͌͆͌͊͌͋͌͌͌͐͌͑͌͒͌͗͌͛͌ͣ͌ͤ͌ͥ͌ͦ͌ͧ͌ͨ͌ͩ͌ͪ͌ͫ͌ͬ͌ͭ͌ͮ͌ͯ͌҃͌҄͌҅͌҆͌҇͌֒͌֓͌֔͌֕͌֗͌֘͌֙͌֜͌֝͌֞͌֟͌֠͌֡͌֨͌֩͌֫͌֬͌֯͌ׄ͌ؐ͌ؑ͌ؒ͌ؓ͌ؔ͌ؕ͌ؖ͌ؗ͌ٗ͌٘͌ٙ͌ٚ͌ٛ͌ٝ͌ٞ͌ۖ͌ۗ͌ۘ͌ۙ͌ۚ͌ۛ͌ۜ͌۟͌۠͌ۡ͌ۢ͌ۤ͌ۧ͌ۨ͌۫͌۬͌ܰ͌ܲ͌ܳ͌ܵ͌ܶ͌ܺ͌ܽ͌ܿ͌݀͌݁͌݃͌݅͌݇͌݉͌݊͌߫͌߬͌߭͌߮͌߯͌߰
͐̅͐̍͐̎͐̐͐̒͐̽͐̾͐̿͐͆͐͊͐͋͐͌͐͐͐͑͐͒͐͗͐͛͐ͣ͐ͤ͐ͥ͐ͦ͐ͧ͐ͨ͐ͩ͐ͪ͐ͫ͐ͬ͐ͭ͐ͮ͐ͯ͐҃͐҄͐҅͐҆͐҇͐֒͐֓͐֔͐֕͐֗͐֘͐֙͐֜͐֝͐֞͐֟͐֠͐֡͐֨͐֩͐֫͐֬͐֯͐ׄ͐ؐ͐ؑ͐ؒ͐ؓ͐ؔ͐ؕ͐ؖ͐ؗ͐ٗ͐٘͐ٙ͐ٚ͐ٛ͐ٝ͐ٞ͐ۖ͐ۗ͐ۘ͐ۙ͐ۚ͐ۛ͐ۜ͐۟͐۠͐ۡ͐ۢ͐ۤ͐ۧ͐ۨ͐۫͐۬͐ܰ͐ܲ͐ܳ͐ܵ͐ܶ͐ܺ͐ܽ͐ܿ͐݀͐݁͐݃͐݅͐݇͐݉͐݊͐߫͐߬͐߭͐߮͐߯͐߰
͑̅͑̍͑̎͑̐͑̒͑̽͑̾͑̿͑͆͑͊͑͋͑͌͑͐͑͑͑͒͑͗͑͛͑ͣ͑ͤ͑ͥ͑ͦ͑ͧ͑ͨ͑ͩ͑ͪ͑ͫ͑ͬ͑ͭ͑ͮ͑ͯ͑҃͑҄͑҅͑҆͑҇͑֒͑֓͑֔͑֕͑֗͑֘͑֙͑֜͑֝͑֞͑֟͑֠͑֡͑֨͑֩͑֫͑֬͑֯͑ׄ͑ؐ͑ؑ͑ؒ͑ؓ͑ؔ͑ؕ͑ؖ͑ؗ͑ٗ͑٘͑ٙ͑ٚ͑ٛ͑ٝ͑ٞ͑ۖ͑ۗ͑ۘ͑ۙ͑ۚ͑ۛ͑ۜ͑۟͑۠͑ۡ͑ۢ͑ۤ͑ۧ͑ۨ͑۫͑۬͑ܰ͑ܲ͑ܳ͑ܵ͑ܶ͑ܺ͑ܽ͑ܿ͑݀͑݁͑݃͑݅͑݇͑݉͑݊͑߫͑߬͑߭͑߮͑߯͑߰
͒̅͒̍͒̎͒̐͒̒͒̽͒̾͒̿͒͆͒͊͒͋͒͌͒͐͒͑͒͒͒͗͒͛͒ͣ͒ͤ͒ͥ͒ͦ͒ͧ͒ͨ͒ͩ͒ͪ͒ͫ͒ͬ͒ͭ͒ͮ͒ͯ͒҃͒҄͒҅͒҆͒҇͒֒͒֓͒֔͒֕͒֗͒֘͒֙͒֜͒֝͒֞͒֟͒֠͒֡͒֨͒֩͒֫͒֬͒֯͒ׄ͒ؐ͒ؑ͒ؒ͒ؓ͒ؔ͒ؕ͒ؖ͒ؗ͒ٗ͒٘͒ٙ͒ٚ͒ٛ͒ٝ͒ٞ͒ۖ͒ۗ͒ۘ͒ۙ͒ۚ͒ۛ͒ۜ͒۟͒۠͒ۡ͒ۢ͒ۤ͒ۧ͒ۨ͒۫͒۬͒ܰ͒ܲ͒ܳ͒ܵ͒ܶ͒ܺ͒ܽ͒ܿ͒݀͒݁͒݃͒݅͒݇͒݉͒݊͒߫͒߬͒߭͒߮͒߯͒߰
͗̅͗̍͗̎͗̐͗̒͗̽͗̾͗̿͗͆͗͊͗͋͗͌͗͐͗͑͗͒͗͗͗͛͗ͣ͗ͤ͗ͥ͗ͦ͗ͧ͗ͨ͗ͩ͗ͪ͗ͫ͗ͬ͗ͭ͗ͮ͗ͯ͗҃͗҄͗҅͗҆͗҇͗֒͗֓͗֔͗֕͗֗͗֘͗֙͗֜͗֝͗֞͗֟͗֠͗֡͗֨͗֩͗֫͗֬͗֯͗ׄ͗ؐ͗ؑ͗ؒ͗ؓ͗ؔ͗ؕ͗ؖ͗ؗ͗ٗ͗٘͗ٙ͗ٚ͗ٛ͗ٝ͗ٞ͗ۖ͗ۗ͗ۘ͗ۙ͗ۚ͗ۛ͗ۜ͗۟͗۠͗ۡ͗ۢ͗ۤ͗ۧ͗ۨ͗۫͗۬͗ܰ͗ܲ͗ܳ͗ܵ͗ܶ͗ܺ͗ܽ͗ܿ͗݀͗݁͗݃͗݅͗݇͗݉͗݊͗߫͗߬͗߭͗߮͗߯͗߰
͛̅͛̍͛̎͛̐͛̒͛̽͛̾͛̿͛͆͛͊͛͋͛͌͛͐͛͑͛͒͛͗͛͛͛ͣ͛ͤ͛ͥ͛ͦ͛ͧ͛ͨ͛ͩ͛ͪ͛ͫ͛ͬ͛ͭ͛ͮ͛ͯ͛҃͛҄͛҅͛҆͛҇͛֒͛֓͛֔͛֕͛֗͛֘͛֙͛֜͛֝͛֞͛֟͛֠͛֡͛֨͛֩͛֫͛֬͛֯͛ׄ͛ؐ͛ؑ͛ؒ͛ؓ͛ؔ͛ؕ͛ؖ͛ؗ͛ٗ͛٘͛ٙ͛ٚ͛ٛ͛ٝ͛ٞ͛ۖ͛ۗ͛ۘ͛ۙ͛ۚ͛ۛ͛ۜ͛۟͛۠͛ۡ͛ۢ͛ۤ͛ۧ͛ۨ͛۫͛۬͛ܰ͛ܲ͛ܳ͛ܵ͛ܶ͛ܺ͛ܽ͛ܿ͛݀͛݁͛݃͛݅͛݇͛݉͛݊͛߫͛߬͛߭͛߮͛߯͛߰
ͣ̅ͣ̍ͣ̎ͣ̐ͣ̒ͣ̽ͣ̾ͣ̿ͣ͆ͣ͊ͣ͋ͣ͌ͣ͐ͣ͑ͣ͒ͣ͗ͣ͛ͣͣͣͤͣͥͣͦͣͧͣͨͣͩͣͪͣͫͣͬͣͭͣͮͣͯͣ҃ͣ҄ͣ҅ͣ҆ͣ҇ͣ֒ͣ֓ͣ֔ͣ֕ͣ֗ͣ֘ͣ֙ͣ֜ͣ֝ͣ֞ͣ֟ͣ֠ͣ֡ͣ֨ͣ֩ͣ֫ͣ֬ͣ֯ͣׄͣؐͣؑͣؒͣؓͣؔͣؕͣؖͣؗͣٗͣ٘ͣٙͣٚͣٛͣٝͣٞͣۖͣۗͣۘͣۙͣۚͣۛͣۜͣ۟ͣ۠ͣۡͣۢͣۤͣۧͣۨͣ۫ͣ۬ͣܰͣܲͣܳͣܵͣܶͣܺͣܽͣܿͣ݀ͣ݁ͣ݃ͣ݅ͣ݇ͣ݉ͣ݊ͣ߫ͣ߬ͣ߭ͣ߮ͣ߯ͣ߰
ͤ̅ͤ̍ͤ̎ͤ̐ͤ̒ͤ̽ͤ̾ͤ̿ͤ͆ͤ͊ͤ͋ͤ͌ͤ͐ͤ͑ͤ͒ͤ͗ͤ͛ͤͣͤͤͤͥͤͦͤͧͤͨͤͩͤͪͤͫͤͬͤͭͤͮͤͯͤ҃ͤ҄ͤ҅ͤ҆ͤ҇ͤ֒ͤ֓ͤ֔ͤ֕ͤ֗ͤ֘ͤ֙ͤ֜ͤ֝ͤ֞ͤ֟ͤ֠ͤ֡ͤ֨ͤ֩ͤ֫ͤ֬ͤ֯ͤׄͤؐͤؑͤؒͤؓͤؔͤؕͤؖͤؗͤٗͤ٘ͤٙͤٚͤٛͤٝͤٞͤۖͤۗͤۘͤۙͤۚͤۛͤۜͤ۟ͤ۠ͤۡͤۢͤۤͤۧͤۨͤ۫ͤ۬ͤܰͤܲͤܳͤܵͤܶͤܺͤܽͤܿͤ݀ͤ݁ͤ݃ͤ݅ͤ݇ͤ݉ͤ݊ͤ߫ͤ߬ͤ߭ͤ߮ͤ߯ͤ߰
ͥ̅ͥ̍ͥ̎ͥ̐ͥ̒ͥ̽ͥ̾ͥ̿ͥ͆ͥ͊ͥ͋ͥ͌ͥ͐ͥ͑ͥ͒ͥ͗ͥ͛ͥͣͥͤͥͥͥͦͥͧͥͨͥͩͥͪͥͫͥͬͥͭͥͮͥͯͥ҃ͥ҄ͥ҅ͥ҆ͥ҇ͥ֒ͥ֓ͥ֔ͥ֕ͥ֗ͥ֘ͥ֙ͥ֜ͥ֝ͥ֞ͥ֟ͥ֠ͥ֡ͥ֨ͥ֩ͥ֫ͥ֬ͥ֯ͥׄͥؐͥؑͥؒͥؓͥؔͥؕͥؖͥؗͥٗͥ٘ͥٙͥٚͥٛͥٝͥٞͥۖͥۗͥۘͥۙͥۚͥۛͥۜͥ۟ͥ۠ͥۡͥۢͥۤͥۧͥۨͥ۫ͥ۬ͥܰͥܲͥܳͥܵͥܶͥܺͥܽͥܿͥ݀ͥ݁ͥ݃ͥ݅ͥ݇ͥ݉ͥ݊ͥ߫ͥ߬ͥ߭ͥ߮ͥ߯ͥ߰
ͦ̅ͦ̍ͦ̎ͦ̐ͦ̒ͦ̽ͦ̾ͦ̿ͦ͆ͦ͊ͦ͋ͦ͌ͦ͐ͦ͑ͦ͒ͦ͗ͦ͛ͦͣͦͤͦͥͦͦͦͧͦͨͦͩͦͪͦͫͦͬͦͭͦͮͦͯͦ҃ͦ҄ͦ҅ͦ҆ͦ҇ͦ֒ͦ֓ͦ֔ͦ֕ͦ֗ͦ֘ͦ֙ͦ֜ͦ֝ͦ֞ͦ֟ͦ֠ͦ֡ͦ֨ͦ֩ͦ֫ͦ֬ͦ֯ͦׄͦؐͦؑͦؒͦؓͦؔͦؕͦؖͦؗͦٗͦ٘ͦٙͦٚͦٛͦٝͦٞͦۖͦۗͦۘͦۙͦۚͦۛͦۜͦ۟ͦ۠ͦۡͦۢͦۤͦۧͦۨͦ۫ͦ۬ͦܰͦܲͦܳͦܵͦܶͦܺͦܽͦܿͦ݀ͦ݁ͦ݃ͦ݅ͦ݇ͦ݉ͦ݊ͦ߫ͦ߬ͦ߭ͦ߮ͦ߯ͦ߰
ͧ̅ͧ̍ͧ̎ͧ̐ͧ̒ͧ̽ͧ̾ͧ̿ͧ͆ͧ͊ͧ͋ͧ͌ͧ͐ͧ͑ͧ͒ͧ͗ͧ͛ͧͣͧͤͧͥͧͦͧͧͧͨͧͩͧͪͧͫͧͬͧͭͧͮͧͯͧ҃ͧ҄ͧ҅ͧ҆ͧ҇ͧ֒ͧ֓ͧ֔ͧ֕ͧ֗ͧ֘ͧ֙ͧ֜ͧ֝ͧ֞ͧ֟ͧ֠ͧ֡ͧ֨ͧ֩ͧ֫ͧ֬ͧ֯ͧׄͧؐͧؑͧؒͧؓͧؔͧؕͧؖͧؗͧٗͧ٘ͧٙͧٚͧٛͧٝͧٞͧۖͧۗͧۘͧۙͧۚͧۛͧۜͧ۟ͧ۠ͧۡͧۢͧۤͧۧͧۨͧ۫ͧ۬ͧܰͧܲͧܳͧܵͧܶͧܺͧܽͧܿͧ݀ͧ݁ͧ݃ͧ݅ͧ݇ͧ݉ͧ݊ͧ߫ͧ߬ͧ߭ͧ߮ͧ߯ͧ߰
ͨ̅ͨ̍ͨ̎ͨ̐ͨ̒ͨ̽ͨ̾ͨ̿ͨ͆ͨ͊ͨ͋ͨ͌ͨ͐ͨ͑ͨ͒ͨ͗ͨ͛ͨͣͨͤͨͥͨͦͨͧͨͨͨͩͨͪͨͫͨͬͨͭͨͮͨͯͨ҃ͨ҄ͨ҅ͨ҆ͨ҇ͨ֒ͨ֓ͨ֔ͨ֕ͨ֗ͨ֘ͨ֙ͨ֜ͨ֝ͨ֞ͨ֟ͨ֠ͨ֡ͨ֨ͨ֩ͨ֫ͨ֬ͨ֯ͨׄͨؐͨؑͨؒͨؓͨؔͨؕͨؖͨؗͨٗͨ٘ͨٙͨٚͨٛͨٝͨٞͨۖͨۗͨۘͨۙͨۚͨۛͨۜͨ۟ͨ۠ͨۡͨۢͨۤͨۧͨۨͨ۫ͨ۬ͨܰͨܲͨܳͨܵͨܶͨܺͨܽͨܿͨ݀ͨ݁ͨ݃ͨ݅ͨ݇ͨ݉ͨ݊ͨ߫ͨ߬ͨ߭ͨ߮ͨ߯ͨ߰
ͩ̅ͩ̍ͩ̎ͩ̐ͩ̒ͩ̽ͩ̾ͩ̿ͩ͆ͩ͊ͩ͋ͩ͌ͩ͐ͩ͑ͩ͒ͩ͗ͩ͛ͩͣͩͤͩͥͩͦͩͧͩͨͩͩͩͪͩͫͩͬͩͭͩͮͩͯͩ҃ͩ҄ͩ҅ͩ҆ͩ҇ͩ֒ͩ֓ͩ֔ͩ֕ͩ֗ͩ֘ͩ֙ͩ֜ͩ֝ͩ֞ͩ֟ͩ֠ͩ֡ͩ֨ͩ֩ͩ֫ͩ֬ͩ֯ͩׄͩؐͩؑͩؒͩؓͩؔͩؕͩؖͩؗͩٗͩ٘ͩٙͩٚͩٛͩٝͩٞͩۖͩۗͩۘͩۙͩۚͩۛͩۜͩ۟ͩ۠ͩۡͩۢͩۤͩۧͩۨͩ۫ͩ۬ͩܰͩܲͩܳͩܵͩܶͩܺͩܽͩܿͩ݀ͩ݁ͩ݃ͩ݅ͩ݇ͩ݉ͩ݊ͩ߫ͩ߬ͩ߭ͩ߮ͩ߯ͩ߰
ͪ̅ͪ̍ͪ̎ͪ̐ͪ̒ͪ̽ͪ̾ͪ̿ͪ͆ͪ͊ͪ͋ͪ͌ͪ͐ͪ͑ͪ͒ͪ͗ͪ͛ͪͣͪͤͪͥͪͦͪͧͪͨͪͩͪͪͪͫͪͬͪͭͪͮͪͯͪ҃ͪ҄ͪ҅ͪ҆ͪ҇ͪ֒ͪ֓ͪ֔ͪ֕ͪ֗ͪ֘ͪ֙ͪ֜ͪ֝ͪ֞ͪ֟ͪ֠ͪ֡ͪ֨ͪ֩ͪ֫ͪ֬ͪ֯ͪׄͪؐͪؑͪؒͪؓͪؔͪؕͪؖͪؗͪٗͪ٘ͪٙͪٚͪٛͪٝͪٞͪۖͪۗͪۘͪۙͪۚͪۛͪۜͪ۟ͪ۠ͪۡͪۢͪۤͪۧͪۨͪ۫ͪ۬ͪܰͪܲͪܳͪܵͪܶͪܺͪܽͪܿͪ݀ͪ݁ͪ݃ͪ݅ͪ݇ͪ݉ͪ݊ͪ߫ͪ߬ͪ߭ͪ߮ͪ߯ͪ߰
ͫ̅ͫ̍ͫ̎ͫ̐ͫ̒ͫ̽ͫ̾ͫ̿ͫ͆ͫ͊ͫ͋ͫ͌ͫ͐ͫ͑ͫ͒ͫ͗ͫ͛ͫͣͫͤͫͥͫͦͫͧͫͨͫͩͫͪͫͫͫͬͫͭͫͮͫͯͫ҃ͫ҄ͫ҅ͫ҆ͫ҇ͫ֒ͫ֓ͫ֔ͫ֕ͫ֗ͫ֘ͫ֙ͫ֜ͫ֝ͫ֞ͫ֟ͫ֠ͫ֡ͫ֨ͫ֩ͫ֫ͫ֬ͫ֯ͫׄͫؐͫؑͫؒͫؓͫؔͫؕͫؖͫؗͫٗͫ٘ͫٙͫٚͫٛͫٝͫٞͫۖͫۗͫۘͫۙͫۚͫۛͫۜͫ۟ͫ۠ͫۡͫۢͫۤͫۧͫۨͫ۫ͫ۬ͫܰͫܲͫܳͫܵͫܶͫܺͫܽͫܿͫ݀ͫ݁ͫ݃ͫ݅ͫ݇ͫ݉ͫ݊ͫ߫ͫ߬ͫ߭ͫ߮ͫ߯ͫ߰
ͬ̅ͬ̍ͬ̎ͬ̐ͬ̒ͬ̽ͬ̾ͬ̿ͬ͆ͬ͊ͬ͋ͬ͌ͬ͐ͬ͑ͬ͒ͬ͗ͬ͛ͬͣͬͤͬͥͬͦͬͧͬͨͬͩͬͪͬͫͬͬͬͭͬͮͬͯͬ҃ͬ҄ͬ҅ͬ҆ͬ҇ͬ֒ͬ֓ͬ֔ͬ֕ͬ֗ͬ֘ͬ֙ͬ֜ͬ֝ͬ֞ͬ֟ͬ֠ͬ֡ͬ֨ͬ֩ͬ֫ͬ֬ͬ֯ͬׄͬؐͬؑͬؒͬؓͬؔͬؕͬؖͬؗͬٗͬ٘ͬٙͬٚͬٛͬٝͬٞͬۖͬۗͬۘͬۙͬۚͬۛͬۜͬ۟ͬ۠ͬۡͬۢͬۤͬۧͬۨͬ۫ͬ۬ͬܰͬܲͬܳͬܵͬܶͬܺͬܽͬܿͬ݀ͬ݁ͬ݃ͬ݅ͬ݇ͬ݉ͬ݊ͬ߫ͬ߬ͬ߭ͬ߮ͬ߯ͬ߰
ͭ̅ͭ̍ͭ̎ͭ̐ͭ̒ͭ̽ͭ̾ͭ̿ͭ͆ͭ͊ͭ͋ͭ͌ͭ͐ͭ͑ͭ͒ͭ͗ͭ͛ͭͣͭͤͭͥͭͦͭͧͭͨͭͩͭͪͭͫͭͬͭͭͭͮͭͯͭ҃ͭ҄ͭ҅ͭ҆ͭ҇ͭ֒ͭ֓ͭ֔ͭ֕ͭ֗ͭ֘ͭ֙ͭ֜ͭ֝ͭ֞ͭ֟ͭ֠ͭ֡ͭ֨ͭ֩ͭ֫ͭ֬ͭ֯ͭׄͭؐͭؑͭؒͭؓͭؔͭؕͭؖͭؗͭٗͭ٘ͭٙͭٚͭٛͭٝͭٞͭۖͭۗͭۘͭۙͭۚͭۛͭۜͭ۟ͭ۠ͭۡͭۢͭۤͭۧͭۨͭ۫ͭ۬ͭܰͭܲͭܳͭܵͭܶͭܺͭܽͭܿͭ݀ͭ݁ͭ݃ͭ݅ͭ݇ͭ݉ͭ݊ͭ߫ͭ߬ͭ߭ͭ߮ͭ߯ͭ߰
ͮ̅ͮ̍ͮ̎ͮ̐ͮ̒ͮ̽ͮ̾ͮ̿ͮ͆ͮ͊ͮ͋ͮ͌ͮ͐ͮ͑ͮ͒ͮ͗ͮ͛ͮͣͮͤͮͥͮͦͮͧͮͨͮͩͮͪͮͫͮͬͮͭͮͮͮͯͮ҃ͮ҄ͮ҅ͮ҆ͮ҇ͮ֒ͮ֓ͮ֔ͮ֕ͮ֗ͮ֘ͮ֙ͮ֜ͮ֝ͮ֞ͮ֟ͮ֠ͮ֡ͮ֨ͮ֩ͮ֫ͮ֬ͮ֯ͮׄͮؐͮؑͮؒͮؓͮؔͮؕͮؖͮؗͮٗͮ٘ͮٙͮٚͮٛͮٝͮٞͮۖͮۗͮۘͮۙͮۚͮۛͮۜͮ۟ͮ۠ͮۡͮۢͮۤͮۧͮۨͮ۫ͮ۬ͮܰͮܲͮܳͮܵͮܶͮܺͮܽͮܿͮ݀ͮ݁ͮ݃ͮ݅ͮ݇ͮ݉ͮ݊ͮ߫ͮ߬ͮ߭ͮ߮ͮ߯ͮ߰
ͯ̅ͯ̍ͯ̎ͯ̐ͯ̒ͯ̽ͯ̾ͯ̿ͯ͆ͯ͊ͯ͋ͯ͌ͯ͐ͯ͑ͯ͒ͯ͗ͯ͛ͯͣͯͤͯͥͯͦͯͧͯͨͯͩͯͪͯͫͯͬͯͭͯͮͯͯͯ҃ͯ҄ͯ҅ͯ҆ͯ҇ͯ֒ͯ֓ͯ֔ͯ֕ͯ֗ͯ֘ͯ֙ͯ֜ͯ֝ͯ֞ͯ֟ͯ֠ͯ֡ͯ֨ͯ֩ͯ֫ͯ֬ͯ֯ͯׄͯؐͯؑͯؒͯؓͯؔͯؕͯؖͯؗͯٗͯ٘ͯٙͯٚͯٛͯٝͯٞͯۖͯۗͯۘͯۙͯۚͯۛͯۜͯ۟ͯ۠ͯۡͯۢͯۤͯۧͯۨͯ۫ͯ۬ͯܰͯܲͯܳͯܵͯܶͯܺͯܽͯܿͯ݀ͯ݁ͯ݃ͯ݅ͯ݇ͯ݉ͯ݊ͯ߫ͯ߬ͯ߭ͯ߮ͯ߯ͯ߰
252189 1665597826.378 Finished displaying the image
252189 1665597826.379 Cleaning up

TERM is tmux-256color inside tmux.

trygveaa commented 2 years ago

Ah, heh, changing screen to tmux here made it work:

https://github.com/sergei-grechanik/tupimage/blob/946b0e1c134dea79e1bfd3872ec6b459a33f0f0a/tupimage#L946

sergei-grechanik commented 2 years ago

Thanks!