emsquid / pic

Preview Image in CLI.
MIT License
57 stars 4 forks source link

Don't print newline after image in library #8

Closed Nogesma closed 1 year ago

Nogesma commented 1 year ago

I'm trying to use this library to output images in kitty between text, but there's a newline added to the output in the send_graphics_command function (line 20). Would it be possible to remove it, or at least move it to the cli part?

Thanks

emsquid commented 1 year ago

I'm going to put an option to not use newline, I think it should work the way you want :)