Skip to content

Feature request - terminal output #244

Description

@Mikael-Lovqvist

Sometimes you want to generate and scan a code in a terminal. Here is a thing I tried out, maybe it could become a feature in this library.

I made a quick example here but I am not sure I understand the proper way of subclassing BaseWriter in this project.

It will output something like the image below. Only tested on dark terminal with code128.

Image

I could only fit 2 sub modules per character because I could only find box drawing characters that could span all combinations for half width. If there is a right 3/4 bar one could double the density but I have not looked for one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions