imcat icon indicating copy to clipboard operation
imcat copied to clipboard

Redirect stdout

Open 9Rune5 opened this issue 6 years ago • 3 comments

Testing under Windows 10 ([Version 10.0.17692.1004]) I fail to redirect the output to a file. The file only contains a handful escape sequences.

image

In this case, only 311 bytes were written.

9Rune5 avatar Aug 06 '18 14:08 9Rune5

Huh? The thpe command does show the image, so the .ans file works.

But it is indeed a low res image. I think that if you redirect the output, imcat can no longer determine the terminal width?

stolk avatar Aug 06 '18 15:08 stolk

A -width parameter would be most helpful. :)

9Rune5 avatar Aug 06 '18 15:08 9Rune5

In fact re-direction doesn't seem to work if your terminal windows size has W/H (in chars) smaller than the image W/H (in pixels). We need that width parameter...

E3V3A avatar Dec 13 '18 19:12 E3V3A