Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Bowery/prompt
/ types & classes
Types & classes
14 in github.com/Bowery/prompt
⨍
Functions
69
◇
Types & classes
14
Struct
AnsiReader
AnsiReader is an io.Reader that wraps an *os.File.
ansi_unix.go:12
Struct
AnsiReader
AnsiReader is an io.Reader that reads from a given file and converts Windows key codes to their equivalent ANSI escape codes.
ansi_windows.go:40
Struct
AnsiWriter
AnsiWriter is an io.Writer that wraps an *os.File.
ansi_unix.go:27
Struct
AnsiWriter
AnsiWriter is an io.Writer that writes to a given file and converts ANSI escape codes to their equivalent Windows functionality.
ansi_windows.go:253
Struct
Buffer
Buffer contains state for line editing and writing.
buffer.go:11
Struct
Terminal
Terminal contains the state for raw terminal input.
term.go:49
Struct
consoleScreenBufferInfo
consoleScreenBufferInfo contains various fields for the terminal.
term_windows.go:31
Struct
coord
coord contains coords for positioning.
term_windows.go:40
Struct
inputRecord
inputRecord describes a input event from a console.
ansi_windows.go:20
Struct
keyEventRecord
keyEventRecord describes a keyboard event.
ansi_windows.go:29
Struct
smallRect
smallRect contains positions for the window edges.
term_windows.go:46
Struct
terminal
terminal contains the private fields for a Unix terminal.
term_unix.go:35
Struct
terminal
terminal contains the private fields for a Windows terminal.
term_windows.go:77
Struct
winsize
winsize contains the size for the terminal.
ioctl_unix.go:15