taviso / wpunix

WordPerfect for UNIX Character Terminals
603 stars 17 forks source link

Make sixels scale to terminal window. #13

Open taviso opened 1 year ago

taviso commented 1 year ago

I should make a tool to scale the sixel display to the size of the terminal, otherwise it looks a bit squished in the corner.

I've manually patched mine, and it works great, but I haven't automated this yet.

Mine looks like this:

datalink

taviso commented 1 year ago

There is a temporary solution now, see here:

https://github.com/taviso/wpunix/wiki/Terminals#graphics

Obviously ideally this should be automated, but it took long enough to figure out the GRS file format, this will do for now 😄

I'll leave this open to remind me to come back to it.

hackerb9 commented 2 months ago

Okay, that is pretty nifty and much better than 'xrandr -s 800x600' which I was doing. When you integrate this, do please make sure that, if you cannot detect the screen resolution (via XTSMGRAPHICS, XTWIN, etc), it defaults to 800x480 if the TERM type is vt340 or vt330.