ctw

package
v1.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

ctw is a custom tab writter package build to correctly display icons and colors for color-ls

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayBrailEmpty

func DisplayBrailEmpty(b bool)

func DisplayColor

func DisplayColor(b bool)

Types

type CTW

type CTW struct {
	// contains filtered or unexported fields
}

func New

func New(termW int) *CTW

func (*CTW) AddRow

func (w *CTW) AddRow(args ...string)

func (*CTW) Flush

func (w *CTW) Flush(buf *bytes.Buffer)

func (*CTW) IconColor

func (w *CTW) IconColor(c string)

type LongCTW

type LongCTW struct {
	// contains filtered or unexported fields
}

func NewLong

func NewLong(cols int) *LongCTW

func (*LongCTW) AddRow

func (l *LongCTW) AddRow(args ...string)

func (*LongCTW) Flush

func (l *LongCTW) Flush(buf *bytes.Buffer)

func (*LongCTW) IconColor

func (l *LongCTW) IconColor(c string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL