Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add basic support for ANSI terminal escape sequences #39

Closed
wants to merge 2 commits into from

Commits on Feb 11, 2016

  1. Add basic support for ANSI terminal escape sequences

    - when printing the cells of the view, we look for escape codes, and
      update the attributes of the cell accordingly. This is done via the
      escapeIntepreter struct and methods
    - add a colors.go example
    
    The code currently only supports the 8 basic colors, and bold,
    underscore and reverse.
    fdeweerdt committed Feb 11, 2016
    Configuration menu
    Copy the full SHA
    5ef6613 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2016

  1. ANSI escape sequences: attributes are lost on a new line

    Make the escape interpreter global to the whole printing of the view,
    not just the current line, so that the context isn't reset when we move
    to a new line
    deweerdt committed Feb 25, 2016
    Configuration menu
    Copy the full SHA
    2e9e6e5 View commit details
    Browse the repository at this point in the history