Skip to content

Prettier output #217

Open
Open
@leumasme

Description

@leumasme

I've previously used Insect but would like to switch to fend for various reasons.
Something that was immediately obvious is that Insect's output is prettier (although way larger).
A small comparison:
image
image
This is with fend already configured to use some color as by default it would be almost exclusively white

[colors]
number = { foreground = 'cyan' }
string = { foreground = 'green' }
identifier = { foreground = 'white', bold = true }
keyword = { foreground = 'yellow', bold = true, underline = true }
built-in-function = { foreground = 'magenta', bold = true }
date = { foreground = 'red' }
other = { foreground = '256:200' }

Maybe I'm just not enough of a cli user to appreciate fend's compactness, but to me, insect's output looks way nicer and easier to read:

  • the error message is colored and formatted over multiple lines at useful points
  • it spells out the output unit (ton instead of t)
  • it has a pretty and colorful default theme
  • it echos its interpretation of the input (which may be somewhat useful to catch misinterpretations)
  • it puts a newline above and below the output, making it easier to recognize different inputs

It would be great if we could have something like this as an option in fend too!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions