tty

package
v0.0.0-...-a2b917b Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func IsTTY

func IsTTY(fd int) (bool, error)

Types

type AnsiEscapeSequence

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

func NewAnsiEscapeSequence

func NewAnsiEscapeSequence() *AnsiEscapeSequence

func (*AnsiEscapeSequence) BackgroundBlack

func (e *AnsiEscapeSequence) BackgroundBlack() *AnsiEscapeSequence

func (*AnsiEscapeSequence) BackgroundBlue

func (e *AnsiEscapeSequence) BackgroundBlue() *AnsiEscapeSequence

func (*AnsiEscapeSequence) BackgroundBrightBlack

func (e *AnsiEscapeSequence) BackgroundBrightBlack() *AnsiEscapeSequence

func (*AnsiEscapeSequence) BackgroundBrightBlue

func (e *AnsiEscapeSequence) BackgroundBrightBlue() *AnsiEscapeSequence

func (*AnsiEscapeSequence) BackgroundBrightCyan

func (e *AnsiEscapeSequence) BackgroundBrightCyan() *AnsiEscapeSequence

func (*AnsiEscapeSequence) BackgroundBrightGreen

func (e *AnsiEscapeSequence) BackgroundBrightGreen() *AnsiEscapeSequence

func (*AnsiEscapeSequence) BackgroundBrightMagenta

func (e *AnsiEscapeSequence) BackgroundBrightMagenta() *AnsiEscapeSequence

func (*AnsiEscapeSequence) BackgroundBrightRed

func (e *AnsiEscapeSequence) BackgroundBrightRed() *AnsiEscapeSequence

func (*AnsiEscapeSequence) BackgroundBrightWhite

func (e *AnsiEscapeSequence) BackgroundBrightWhite() *AnsiEscapeSequence

func (*AnsiEscapeSequence) BackgroundBrightYellow

func (e *AnsiEscapeSequence) BackgroundBrightYellow() *AnsiEscapeSequence

func (*AnsiEscapeSequence) BackgroundColor

func (e *AnsiEscapeSequence) BackgroundColor(r int, g int, b int) *AnsiEscapeSequence

func (*AnsiEscapeSequence) BackgroundCyan

func (e *AnsiEscapeSequence) BackgroundCyan() *AnsiEscapeSequence

func (*AnsiEscapeSequence) BackgroundDefault

func (e *AnsiEscapeSequence) BackgroundDefault() *AnsiEscapeSequence

func (*AnsiEscapeSequence) BackgroundGreen

func (e *AnsiEscapeSequence) BackgroundGreen() *AnsiEscapeSequence

func (*AnsiEscapeSequence) BackgroundIndexedColor

func (e *AnsiEscapeSequence) BackgroundIndexedColor(index int) *AnsiEscapeSequence

func (*AnsiEscapeSequence) BackgroundMagenta

func (e *AnsiEscapeSequence) BackgroundMagenta() *AnsiEscapeSequence

func (*AnsiEscapeSequence) BackgroundRed

func (e *AnsiEscapeSequence) BackgroundRed() *AnsiEscapeSequence

func (*AnsiEscapeSequence) BackgroundWhite

func (e *AnsiEscapeSequence) BackgroundWhite() *AnsiEscapeSequence

func (*AnsiEscapeSequence) BackgroundYellow

func (e *AnsiEscapeSequence) BackgroundYellow() *AnsiEscapeSequence

func (*AnsiEscapeSequence) Black

func (*AnsiEscapeSequence) BlinkReset

func (e *AnsiEscapeSequence) BlinkReset() *AnsiEscapeSequence

func (*AnsiEscapeSequence) Blue

func (*AnsiEscapeSequence) Bold

func (*AnsiEscapeSequence) BoldReset

func (e *AnsiEscapeSequence) BoldReset() *AnsiEscapeSequence

func (*AnsiEscapeSequence) BrightBlack

func (e *AnsiEscapeSequence) BrightBlack() *AnsiEscapeSequence

func (*AnsiEscapeSequence) BrightBlue

func (e *AnsiEscapeSequence) BrightBlue() *AnsiEscapeSequence

func (*AnsiEscapeSequence) BrightCyan

func (e *AnsiEscapeSequence) BrightCyan() *AnsiEscapeSequence

func (*AnsiEscapeSequence) BrightGreen

func (e *AnsiEscapeSequence) BrightGreen() *AnsiEscapeSequence

func (*AnsiEscapeSequence) BrightMagenta

func (e *AnsiEscapeSequence) BrightMagenta() *AnsiEscapeSequence

func (*AnsiEscapeSequence) BrightRed

func (e *AnsiEscapeSequence) BrightRed() *AnsiEscapeSequence

func (*AnsiEscapeSequence) BrightWhite

func (e *AnsiEscapeSequence) BrightWhite() *AnsiEscapeSequence

func (*AnsiEscapeSequence) BrightYellow

func (e *AnsiEscapeSequence) BrightYellow() *AnsiEscapeSequence

func (*AnsiEscapeSequence) Color

func (e *AnsiEscapeSequence) Color(r int, g int, b int) *AnsiEscapeSequence

func (*AnsiEscapeSequence) Cyan

func (*AnsiEscapeSequence) Default

func (e *AnsiEscapeSequence) Default() *AnsiEscapeSequence

func (*AnsiEscapeSequence) Dim

func (*AnsiEscapeSequence) DimReset

func (e *AnsiEscapeSequence) DimReset() *AnsiEscapeSequence

func (*AnsiEscapeSequence) Disable

func (e *AnsiEscapeSequence) Disable() *AnsiEscapeSequence

func (*AnsiEscapeSequence) Enable

func (*AnsiEscapeSequence) Enabled

func (e *AnsiEscapeSequence) Enabled() bool

func (*AnsiEscapeSequence) EraseEntireScreen

func (e *AnsiEscapeSequence) EraseEntireScreen() string

func (*AnsiEscapeSequence) EraseFromCursorToEndOfLine

func (e *AnsiEscapeSequence) EraseFromCursorToEndOfLine() string

func (*AnsiEscapeSequence) EraseFromCursorToEndOfScreen

func (e *AnsiEscapeSequence) EraseFromCursorToEndOfScreen() string

func (*AnsiEscapeSequence) EraseFromCursorToStartOfLine

func (e *AnsiEscapeSequence) EraseFromCursorToStartOfLine() string

func (*AnsiEscapeSequence) EraseFromCursorToStartOfScreen

func (e *AnsiEscapeSequence) EraseFromCursorToStartOfScreen() string

func (*AnsiEscapeSequence) EraseInDisplay

func (e *AnsiEscapeSequence) EraseInDisplay() string

func (*AnsiEscapeSequence) EraseInLine

func (e *AnsiEscapeSequence) EraseInLine() string

func (*AnsiEscapeSequence) EraseLine

func (e *AnsiEscapeSequence) EraseLine() string

func (*AnsiEscapeSequence) EraseSavedLines

func (e *AnsiEscapeSequence) EraseSavedLines() string

func (*AnsiEscapeSequence) Format

func (e *AnsiEscapeSequence) Format(s string) string

func (*AnsiEscapeSequence) Green

func (*AnsiEscapeSequence) Hidden

func (*AnsiEscapeSequence) HiddenReset

func (e *AnsiEscapeSequence) HiddenReset() *AnsiEscapeSequence

func (*AnsiEscapeSequence) Home

func (e *AnsiEscapeSequence) Home() string

func (*AnsiEscapeSequence) IndexedColor

func (e *AnsiEscapeSequence) IndexedColor(index int) *AnsiEscapeSequence

func (*AnsiEscapeSequence) Italic

func (*AnsiEscapeSequence) ItalicReset

func (e *AnsiEscapeSequence) ItalicReset() *AnsiEscapeSequence

func (*AnsiEscapeSequence) Magenta

func (e *AnsiEscapeSequence) Magenta() *AnsiEscapeSequence

func (*AnsiEscapeSequence) Move

func (e *AnsiEscapeSequence) Move(line int, column int) string

func (*AnsiEscapeSequence) MoveDown

func (e *AnsiEscapeSequence) MoveDown(lines int) string

func (*AnsiEscapeSequence) MoveLeft

func (e *AnsiEscapeSequence) MoveLeft(columns int) string

func (*AnsiEscapeSequence) MoveRight

func (e *AnsiEscapeSequence) MoveRight(columns int) string

func (*AnsiEscapeSequence) MoveToStart

func (e *AnsiEscapeSequence) MoveToStart() string

func (*AnsiEscapeSequence) MoveToStartDown

func (e *AnsiEscapeSequence) MoveToStartDown(lines int) string

func (*AnsiEscapeSequence) MoveToStartUp

func (e *AnsiEscapeSequence) MoveToStartUp(lines int) string

func (*AnsiEscapeSequence) MoveUp

func (e *AnsiEscapeSequence) MoveUp(lines int) string

func (*AnsiEscapeSequence) MoveUpOne

func (e *AnsiEscapeSequence) MoveUpOne() string

func (*AnsiEscapeSequence) Red

func (*AnsiEscapeSequence) RequestCursorPosition

func (e *AnsiEscapeSequence) RequestCursorPosition() string

func (*AnsiEscapeSequence) RequestCursorPositionSCO

func (e *AnsiEscapeSequence) RequestCursorPositionSCO() string

func (*AnsiEscapeSequence) Reset

func (*AnsiEscapeSequence) RestoreCursorPosition

func (e *AnsiEscapeSequence) RestoreCursorPosition() string

func (*AnsiEscapeSequence) Reverse

func (e *AnsiEscapeSequence) Reverse() *AnsiEscapeSequence

func (*AnsiEscapeSequence) ReverseReset

func (e *AnsiEscapeSequence) ReverseReset() *AnsiEscapeSequence

func (*AnsiEscapeSequence) SaveCursorPosition

func (e *AnsiEscapeSequence) SaveCursorPosition() string

func (*AnsiEscapeSequence) SaveCursorPositionSCO

func (e *AnsiEscapeSequence) SaveCursorPositionSCO() string

func (*AnsiEscapeSequence) Strikethrough

func (e *AnsiEscapeSequence) Strikethrough() *AnsiEscapeSequence

func (*AnsiEscapeSequence) StrikethroughReset

func (e *AnsiEscapeSequence) StrikethroughReset() *AnsiEscapeSequence

func (*AnsiEscapeSequence) String

func (e *AnsiEscapeSequence) String() string

func (*AnsiEscapeSequence) Strip

func (e *AnsiEscapeSequence) Strip(s string) string

func (*AnsiEscapeSequence) Underline

func (e *AnsiEscapeSequence) Underline() *AnsiEscapeSequence

func (*AnsiEscapeSequence) UnderlineReset

func (e *AnsiEscapeSequence) UnderlineReset() *AnsiEscapeSequence

func (*AnsiEscapeSequence) V8FuncBackgroundColor

func (e *AnsiEscapeSequence) V8FuncBackgroundColor(in isolates.FunctionArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8FuncBackgroundIndexedColor

func (e *AnsiEscapeSequence) V8FuncBackgroundIndexedColor(in isolates.FunctionArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8FuncColor

func (*AnsiEscapeSequence) V8FuncDisable

func (e *AnsiEscapeSequence) V8FuncDisable(in isolates.FunctionArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8FuncEnable

func (e *AnsiEscapeSequence) V8FuncEnable(in isolates.FunctionArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8FuncEraseEntireScreen

func (e *AnsiEscapeSequence) V8FuncEraseEntireScreen(in isolates.FunctionArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8FuncEraseFromCursorToEndOfLine

func (e *AnsiEscapeSequence) V8FuncEraseFromCursorToEndOfLine(in isolates.FunctionArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8FuncEraseFromCursorToEndOfScreen

func (e *AnsiEscapeSequence) V8FuncEraseFromCursorToEndOfScreen(in isolates.FunctionArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8FuncEraseFromCursorToStartOfLine

func (e *AnsiEscapeSequence) V8FuncEraseFromCursorToStartOfLine(in isolates.FunctionArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8FuncEraseFromCursorToStartOfScreen

func (e *AnsiEscapeSequence) V8FuncEraseFromCursorToStartOfScreen(in isolates.FunctionArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8FuncEraseInDisplay

func (e *AnsiEscapeSequence) V8FuncEraseInDisplay(in isolates.FunctionArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8FuncEraseInLine

func (e *AnsiEscapeSequence) V8FuncEraseInLine(in isolates.FunctionArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8FuncEraseLine

func (e *AnsiEscapeSequence) V8FuncEraseLine(in isolates.FunctionArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8FuncEraseSavedLines

func (e *AnsiEscapeSequence) V8FuncEraseSavedLines(in isolates.FunctionArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8FuncHome

func (*AnsiEscapeSequence) V8FuncIndexedColor

func (e *AnsiEscapeSequence) V8FuncIndexedColor(in isolates.FunctionArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8FuncMove

func (*AnsiEscapeSequence) V8FuncMoveDown

func (e *AnsiEscapeSequence) V8FuncMoveDown(in isolates.FunctionArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8FuncMoveLeft

func (e *AnsiEscapeSequence) V8FuncMoveLeft(in isolates.FunctionArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8FuncMoveRight

func (e *AnsiEscapeSequence) V8FuncMoveRight(in isolates.FunctionArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8FuncMoveToStart

func (e *AnsiEscapeSequence) V8FuncMoveToStart(in isolates.FunctionArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8FuncMoveToStartDown

func (e *AnsiEscapeSequence) V8FuncMoveToStartDown(in isolates.FunctionArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8FuncMoveToStartUp

func (e *AnsiEscapeSequence) V8FuncMoveToStartUp(in isolates.FunctionArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8FuncMoveUp

func (e *AnsiEscapeSequence) V8FuncMoveUp(in isolates.FunctionArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8FuncMoveUpOne

func (e *AnsiEscapeSequence) V8FuncMoveUpOne(in isolates.FunctionArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8FuncRequestCursorPosition

func (e *AnsiEscapeSequence) V8FuncRequestCursorPosition(in isolates.FunctionArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8FuncRequestCursorPositionSCO

func (e *AnsiEscapeSequence) V8FuncRequestCursorPositionSCO(in isolates.FunctionArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8FuncRestoreCursorPosition

func (e *AnsiEscapeSequence) V8FuncRestoreCursorPosition(in isolates.FunctionArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8FuncSaveCursorPosition

func (e *AnsiEscapeSequence) V8FuncSaveCursorPosition(in isolates.FunctionArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8FuncSaveCursorPositionSCO

func (e *AnsiEscapeSequence) V8FuncSaveCursorPositionSCO(in isolates.FunctionArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8FuncStrip

func (*AnsiEscapeSequence) V8GetBackgroundBlack

func (e *AnsiEscapeSequence) V8GetBackgroundBlack(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetBackgroundBlue

func (e *AnsiEscapeSequence) V8GetBackgroundBlue(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetBackgroundBrightBlack

func (e *AnsiEscapeSequence) V8GetBackgroundBrightBlack(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetBackgroundBrightBlue

func (e *AnsiEscapeSequence) V8GetBackgroundBrightBlue(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetBackgroundBrightCyan

func (e *AnsiEscapeSequence) V8GetBackgroundBrightCyan(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetBackgroundBrightGreen

func (e *AnsiEscapeSequence) V8GetBackgroundBrightGreen(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetBackgroundBrightMagenta

func (e *AnsiEscapeSequence) V8GetBackgroundBrightMagenta(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetBackgroundBrightRed

func (e *AnsiEscapeSequence) V8GetBackgroundBrightRed(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetBackgroundBrightWhite

func (e *AnsiEscapeSequence) V8GetBackgroundBrightWhite(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetBackgroundBrightYellow

func (e *AnsiEscapeSequence) V8GetBackgroundBrightYellow(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetBackgroundCyan

func (e *AnsiEscapeSequence) V8GetBackgroundCyan(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetBackgroundDefault

func (e *AnsiEscapeSequence) V8GetBackgroundDefault(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetBackgroundGreen

func (e *AnsiEscapeSequence) V8GetBackgroundGreen(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetBackgroundMagenta

func (e *AnsiEscapeSequence) V8GetBackgroundMagenta(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetBackgroundRed

func (e *AnsiEscapeSequence) V8GetBackgroundRed(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetBackgroundWhite

func (e *AnsiEscapeSequence) V8GetBackgroundWhite(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetBackgroundYellow

func (e *AnsiEscapeSequence) V8GetBackgroundYellow(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetBlack

func (e *AnsiEscapeSequence) V8GetBlack(in isolates.GetterArgs) (*isolates.Value, error)
func (e *AnsiEscapeSequence) V8GetBlink(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetBlinkReset

func (e *AnsiEscapeSequence) V8GetBlinkReset(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetBlue

func (*AnsiEscapeSequence) V8GetBold

func (*AnsiEscapeSequence) V8GetBoldReset

func (e *AnsiEscapeSequence) V8GetBoldReset(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetBrightBlack

func (e *AnsiEscapeSequence) V8GetBrightBlack(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetBrightBlue

func (e *AnsiEscapeSequence) V8GetBrightBlue(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetBrightCyan

func (e *AnsiEscapeSequence) V8GetBrightCyan(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetBrightGreen

func (e *AnsiEscapeSequence) V8GetBrightGreen(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetBrightMagenta

func (e *AnsiEscapeSequence) V8GetBrightMagenta(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetBrightRed

func (e *AnsiEscapeSequence) V8GetBrightRed(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetBrightWhite

func (e *AnsiEscapeSequence) V8GetBrightWhite(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetBrightYellow

func (e *AnsiEscapeSequence) V8GetBrightYellow(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetCyan

func (*AnsiEscapeSequence) V8GetDefault

func (e *AnsiEscapeSequence) V8GetDefault(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetDim

func (*AnsiEscapeSequence) V8GetDimReset

func (e *AnsiEscapeSequence) V8GetDimReset(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetEnabled

func (e *AnsiEscapeSequence) V8GetEnabled(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetGreen

func (e *AnsiEscapeSequence) V8GetGreen(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetHidden

func (e *AnsiEscapeSequence) V8GetHidden(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetHiddenReset

func (e *AnsiEscapeSequence) V8GetHiddenReset(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetItalic

func (e *AnsiEscapeSequence) V8GetItalic(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetItalicReset

func (e *AnsiEscapeSequence) V8GetItalicReset(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetMagenta

func (e *AnsiEscapeSequence) V8GetMagenta(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetRed

func (*AnsiEscapeSequence) V8GetReset

func (e *AnsiEscapeSequence) V8GetReset(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetReverse

func (e *AnsiEscapeSequence) V8GetReverse(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetReverseReset

func (e *AnsiEscapeSequence) V8GetReverseReset(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetStrikethrough

func (e *AnsiEscapeSequence) V8GetStrikethrough(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetStrikethroughReset

func (e *AnsiEscapeSequence) V8GetStrikethroughReset(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetUnderline

func (e *AnsiEscapeSequence) V8GetUnderline(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetUnderlineReset

func (e *AnsiEscapeSequence) V8GetUnderlineReset(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetWhite

func (e *AnsiEscapeSequence) V8GetWhite(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) V8GetYellow

func (e *AnsiEscapeSequence) V8GetYellow(in isolates.GetterArgs) (*isolates.Value, error)

func (*AnsiEscapeSequence) White

func (*AnsiEscapeSequence) Yellow

type ReadStream

type ReadStream interface {
	stream.Readable
	IsRaw() bool
	IsTTY() bool
	SetRawMode(in isolates.FunctionArgs, mode bool) (*isolates.Value, error)
}

type ReadStreamBase

type ReadStreamBase struct {
	*stream.ReadableBase
	// contains filtered or unexported fields
}

func NewReadStream

func NewReadStream(in isolates.FunctionArgs) (*ReadStreamBase, error)

func (*ReadStreamBase) IsRaw

func (r *ReadStreamBase) IsRaw() bool

func (*ReadStreamBase) IsTTY

func (r *ReadStreamBase) IsTTY() bool

func (*ReadStreamBase) SetRawMode

func (r *ReadStreamBase) SetRawMode(in isolates.FunctionArgs, mode bool) (*isolates.Value, error)

func (*ReadStreamBase) V8FuncSetRawMode

func (r *ReadStreamBase) V8FuncSetRawMode(in isolates.FunctionArgs) (*isolates.Value, error)

func (*ReadStreamBase) V8GetIsRaw

func (r *ReadStreamBase) V8GetIsRaw(in isolates.GetterArgs) (*isolates.Value, error)

func (*ReadStreamBase) V8GetIsTTY

func (r *ReadStreamBase) V8GetIsTTY(in isolates.GetterArgs) (*isolates.Value, error)

type WriteStream

type WriteStream interface {
	stream.Writable
	IsTTY() bool
	GetWindowSize() ([]int, error)
	Rows() (int, error)
	Columns() (int, error)
}

type WriteStreamBase

type WriteStreamBase struct {
	*stream.WritableBase
	// contains filtered or unexported fields
}

func NewWriteStream

func NewWriteStream(in isolates.FunctionArgs) (*WriteStreamBase, error)

func (*WriteStreamBase) Clear

func (w *WriteStreamBase) Clear() error

func (*WriteStreamBase) Columns

func (w *WriteStreamBase) Columns() (int, error)

func (*WriteStreamBase) GetWindowSize

func (w *WriteStreamBase) GetWindowSize() ([]int, error)

func (*WriteStreamBase) IsTTY

func (w *WriteStreamBase) IsTTY() bool

func (*WriteStreamBase) Rows

func (w *WriteStreamBase) Rows() (int, error)

func (*WriteStreamBase) V8FuncClear

func (w *WriteStreamBase) V8FuncClear(in isolates.FunctionArgs) (*isolates.Value, error)

func (*WriteStreamBase) V8FuncGetWindowSize

func (w *WriteStreamBase) V8FuncGetWindowSize(in isolates.FunctionArgs) (*isolates.Value, error)

func (*WriteStreamBase) V8GetColumns

func (w *WriteStreamBase) V8GetColumns(in isolates.GetterArgs) (*isolates.Value, error)

func (*WriteStreamBase) V8GetIsTTY

func (w *WriteStreamBase) V8GetIsTTY(in isolates.GetterArgs) (*isolates.Value, error)

func (*WriteStreamBase) V8GetRows

func (w *WriteStreamBase) V8GetRows(in isolates.GetterArgs) (*isolates.Value, error)

Jump to

Keyboard shortcuts

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