Skip to content

Improved ANSI support, more SGR sequences #44

Description

@mixmastamyk

Hi, great work! Am now using kmscon and it is working well.

A few nitpicks left. I use the dim sequence in my scripts a lot and it doesn't seem to be supported:

SGR

  • dim

A few others as well, that are perhaps less important:

  • conceal / hide
  • strike
  • overline
  • curly underline
  • double underline
  • underline colors

Finally the dubious leftovers: ;-)

  • blink, slow blink
  • encircle, frame
  • font selection

Colon delimiter support

Also, there is a less ambiguous standard (ITU-T T.416) that says that color "subparameters" should be delimited by colons:

printf '\e[38:2::255:100:0m Orange text \e[0m\n'
printf '\e[48:2::0:0:128m Navy background \e[0m\n'

Hope this can be supported so the ambiguous version isn't required. Cheers,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions