Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mattn/go-tty
/ functions
Functions
53 in github.com/mattn/go-tty
⨍
Functions
53
◇
Types & classes
18
↓ 7 callers
Method
Close
()
tty.go:39
↓ 7 callers
Method
Output
()
tty.go:55
↓ 6 callers
Method
ReadRune
()
tty.go:35
↓ 4 callers
Method
Buffered
()
tty.go:31
↓ 4 callers
Method
readString
(displayType int)
tty.go:66
↓ 2 callers
Function
open
(path string)
tty_unix.go:25
↓ 2 callers
Method
raw
()
tty_unix.go:176
↓ 2 callers
Method
readRune
()
tty_unix.go:64
↓ 2 callers
Method
size
()
tty_unix.go:91
↓ 2 callers
Method
sizePixel
()
tty_unix.go:96
↓ 1 callers
Method
Raw
()
tty.go:19
↓ 1 callers
Function
ReadLine
(tty *tty.TTY)
ttyutil/readline.go:98
↓ 1 callers
Method
ReadPassword
()
tty.go:104
↓ 1 callers
Method
ReadString
()
tty.go:99
↓ 1 callers
Method
SIGWINCH
()
tty.go:128
↓ 1 callers
Method
buffered
()
tty_unix.go:60
↓ 1 callers
Method
close
()
tty_unix.go:69
↓ 1 callers
Method
input
()
tty_unix.go:168
↓ 1 callers
Method
output
()
tty_unix.go:172
↓ 1 callers
Method
queryPixelSize
queryPixelSize sends the xterm "report window size in pixels" sequence (\x1b[14t) and parses the response (\x1b[4;height;widtht).
tty_unix.go:112
↓ 1 callers
Method
queryTextAreaPixel
queryTextAreaPixel asks the hosting terminal for the pixel size of the text area with CSI 14 t and parses the "ESC [ 4 ; height ; width t" reply. The
tty_windows.go:391
↓ 1 callers
Function
readConsoleInput
(fd uintptr, record *inputRecord)
tty_windows.go:146
↓ 1 callers
Method
redraw
(dirty bool, passwordChar rune)
ttyutil/readline.go:26
↓ 1 callers
Method
sigwinch
()
tty_unix.go:205
↓ 1 callers
Method
size
()
tty_windows.go:364
↓ 1 callers
Method
size
()
tty_plan9.go:54
Method
Input
()
tty.go:51
Method
MustRaw
()
tty.go:23
Function
Open
()
tty.go:11
Function
OpenDevice
(path string)
tty.go:15
Method
ReadPasswordClear
()
tty.go:114
Method
ReadPasswordNoEcho
()
tty.go:109
Method
Size
()
tty.go:43
Method
SizePixel
()
tty.go:47
Method
buffered
()
tty_windows.go:205
Method
buffered
()
tty_plan9.go:35
Method
close
()
tty_windows.go:357
Method
close
()
tty_plan9.go:44
Method
input
()
tty_windows.go:467
Method
input
()
tty_plan9.go:63
Function
main
()
_example/readline.go:12
Function
main
()
_example/simple.go:12
Function
main
()
_example/password.go:12
Function
open
(path string)
tty_windows.go:155
Function
open
(path string)
tty_plan9.go:16
Method
output
()
tty_windows.go:471
Method
output
()
tty_plan9.go:67
Method
raw
()
tty_windows.go:475
Method
readRune
()
tty_windows.go:209
Method
readRune
()
tty_plan9.go:39
Method
sigwinch
()
tty_windows.go:495
Method
sizePixel
()
tty_windows.go:373
Method
sizePixel
()
tty_plan9.go:58