Skip to content

[kitten icat] Add option to disable the final new line #7574

@CarterLi

Description

@CarterLi

Is your feature request related to a problem? Please describe.

Someone requested that let fastfetch use kitten icat to print image logo. Fastfetch uses cursor position to detect the image size. We expect after an image is printed, the cursor should be the right-bottom corner of the image.

However kitten icat automatically appends a new line, which makes fastfetch unable to detect the image width.

Describe the solution you'd like

Add an option like echo -n which don't print the final new line.

Describe alternatives you've considered

N/A

Additional context

Simple test case: kitten icat --align=left /path/to/image && echo FIN. FIN should be printed at the right-bottom corner of the image

image

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions