SVI dc6aa9adf0 d01 Проба bubbletea 2 년 전
..
compressor dc6aa9adf0 d01 Проба bubbletea 2 년 전
.gitignore dc6aa9adf0 d01 Проба bubbletea 2 년 전
.golangci.yml dc6aa9adf0 d01 Проба bubbletea 2 년 전
LICENSE dc6aa9adf0 d01 Проба bubbletea 2 년 전
README.md dc6aa9adf0 d01 Проба bubbletea 2 년 전
ansi.go dc6aa9adf0 d01 Проба bubbletea 2 년 전
buffer.go dc6aa9adf0 d01 Проба bubbletea 2 년 전
writer.go dc6aa9adf0 d01 Проба bubbletea 2 년 전

README.md

ansi

Latest Release Build Status Coverage Status Go ReportCard GoDoc

Raw ANSI sequence helpers

ANSI Writer

import "github.com/muesli/ansi"

w := ansi.Writer{Forward: os.Stdout}
w.Write([]byte("\x1b[31mHello, world!\x1b[0m"))
w.Close()

Compressor

The ANSI compressor eliminates unnecessary/redundant ANSI sequences.

import "github.com/muesli/ansi/compressor"

w := compressor.Writer{Forward: os.Stdout}
w.Write([]byte("\x1b[31mHello, world!\x1b[0m"))
w.Close()