Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Azure/go-ansiterm
/ functions
Functions
224 in github.com/Azure/go-ansiterm
⨍
Functions
224
◇
Types & classes
28
↓ 31 callers
Method
Flush
()
winterm/win_event_handler.go:687
↓ 31 callers
Function
funcCallParamHelper
(t *testing.T, bytes []byte, start string, expected string, expectedCalls []string)
parser_test_helpers_test.go:39
↓ 28 callers
Method
recordCall
(call string, params []string)
test_event_handler_test.go:18
↓ 27 callers
Method
clearWrap
clearWrap clears the state where the cursor is in the margin waiting for the next character before wrapping the line. This must be done before most op
winterm/win_event_handler.go:740
↓ 18 callers
Function
sliceContains
(bytes []byte, b byte)
utilities.go:7
↓ 17 callers
Function
getByteRange
(start byte, end byte)
constants.go:118
↓ 16 callers
Method
Name
()
states.go:9
↓ 15 callers
Function
GetConsoleScreenBufferInfo
GetConsoleScreenBufferInfo retrieves information about the specified console screen buffer. See http://msdn.microsoft.com/en-us/library/windows/deskto
winterm/api.go:214
↓ 15 callers
Function
getInt
(params []string, dflt int)
parser_action_helpers.go:37
↓ 15 callers
Function
parseParamsHelper
(t *testing.T, bytes []byte, expectedParams []string)
parser_test_helpers_test.go:50
↓ 15 callers
Function
use
use is a no-op, but the compiler cannot see that it is. Calling use(p) ensures that p is kept live until that point.
winterm/api.go:327
↓ 14 callers
Function
stateTransitionHelper
(t *testing.T, start string, end string, bytes []byte)
parser_test_helpers_test.go:19
↓ 11 callers
Function
checkError
checkError evaluates the results of a Windows API call and returns the error if it failed.
winterm/api.go:306
↓ 8 callers
Method
Handle
(byte)
states.go:8
↓ 8 callers
Function
createTestParser
(s string)
parser_test_utilities_test.go:7
↓ 7 callers
Function
SetConsoleCursorPosition
SetConsoleCursorPosition location of the console cursor. See https://msdn.microsoft.com/en-us/library/windows/desktop/ms686025(v=vs.85).aspx.
winterm/api.go:191
↓ 7 callers
Function
cursorSingleParamHelper
(t *testing.T, command byte, funcName string)
parser_test_helpers_test.go:75
↓ 6 callers
Method
Parse
(bytes []byte)
parser.go:97
↓ 6 callers
Method
execute
()
parser_actions.go:117
↓ 6 callers
Method
getCurrentInfo
cacheConsoleInfo ensures that the current console screen information has been queried since the last call to Flush(). It must be called before accessi
winterm/win_event_handler.go:718
↓ 5 callers
Method
Transition
(state)
states.go:10
↓ 5 callers
Function
anyToXHelper
(t *testing.T, bytes []byte, expectedState string)
parser_test_helpers_test.go:32
↓ 5 callers
Function
coordToPointer
coordToPointer converts a COORD into a uintptr (by fooling the type system).
winterm/api.go:320
↓ 5 callers
Method
effectiveSr
effectiveSr gets the current effective scroll region in buffer coordinates
winterm/scroll_helper.go:6
↓ 5 callers
Method
getCursorWindow
(info *CONSOLE_SCREEN_BUFFER_INFO)
winterm/cursor_helpers.go:10
↓ 5 callers
Function
getInts
(params []string, minCount int, dflt int)
parser_action_helpers.go:42
↓ 5 callers
Method
setCursorPosition
setCursorPosition sets the cursor to the specified position, bounded to the screen size
winterm/cursor_helpers.go:30
↓ 5 callers
Method
updatePos
(pos COORD)
winterm/win_event_handler.go:730
↓ 5 callers
Function
validateState
(t *testing.T, actualState state, expectedStateName string)
parser_test_utilities_test.go:14
↓ 3 callers
Method
CUP
(row int, col int)
winterm/win_event_handler.go:364
↓ 3 callers
Method
Execute
Execute C0 commands
event_handler.go:8
↓ 3 callers
Method
clear
()
parser_actions.go:112
↓ 3 callers
Method
clearRect
(attributes uint16, fromCoord COORD, toCoord COORD)
winterm/erase_helpers.go:61
↓ 3 callers
Method
collectInter
()
parser_actions.go:10
↓ 3 callers
Function
ensureInRange
ensureInRange adjusts the passed value, if necessary, to ensure it is within the passed min / max range.
winterm/ansi.go:154
↓ 3 callers
Method
moveCursorVertical
(param int)
winterm/cursor_helpers.go:41
↓ 3 callers
Method
scrollUp
(param int)
winterm/scroll_helper.go:16
↓ 3 callers
Method
simulateLF
simulateLF simulates a LF or CR+LF by scrolling if necessary to handle the current cursor position and scroll region settings, in which case it return
winterm/win_event_handler.go:88
↓ 2 callers
Function
ScrollConsoleScreenBuffer
(handle uintptr, scrollRect SMALL_RECT, clipRect SMALL_RECT, destOrigin COORD, char CHAR_INFO)
winterm/api.go:223
↓ 2 callers
Function
SetConsoleScreenBufferSize
SetConsoleScreenBufferSize sets the size of the console screen buffer. See https://msdn.microsoft.com/en-us/library/windows/desktop/ms686044(v=vs.85).
winterm/api.go:234
↓ 2 callers
Function
SetConsoleWindowInfo
SetConsoleWindowInfo sets the size and position of the console screen buffer's window. Note that the size and location must be within and no larger th
winterm/api.go:252
↓ 2 callers
Function
WriteConsoleOutput
WriteConsoleOutput writes the CHAR_INFOs from the provided buffer to the active console buffer. See https://msdn.microsoft.com/en-us/library/windows/d
winterm/api.go:261
↓ 2 callers
Function
addInRange
AddInRange increments a value by the passed quantity while ensuring the values always remain within the supplied min / max range.
winterm/utilities.go:7
↓ 2 callers
Function
c0Helper
(t *testing.T, bytes []byte, expectedState string, expectedCalls []string)
parser_test_helpers_test.go:124
↓ 2 callers
Function
clearOnStateChangeHelper
(t *testing.T, start string, end string, bytes []byte)
parser_test_helpers_test.go:115
↓ 2 callers
Method
clearRange
(attributes uint16, fromCoord COORD, toCoord COORD)
winterm/erase_helpers.go:7
↓ 2 callers
Method
collectParam
()
parser_actions.go:3
↓ 2 callers
Method
csiDispatch
()
parser_actions.go:39
↓ 2 callers
Function
cursorTwoParamHelper
(t *testing.T, command byte, funcName string)
parser_test_helpers_test.go:85
↓ 2 callers
Method
deleteCharacters
(param int)
winterm/scroll_helper.go:81
↓ 2 callers
Method
deleteLines
(param int)
winterm/scroll_helper.go:30
↓ 2 callers
Function
eraseHelper
(t *testing.T, command byte, funcName string)
parser_test_helpers_test.go:95
↓ 2 callers
Method
escDispatch
()
parser_actions.go:17
↓ 2 callers
Method
executeLF
executeLF executes a LF without a CR.
winterm/win_event_handler.go:154
↓ 2 callers
Function
fillContext
(context *ansiContext)
parser_test_utilities_test.go:48
↓ 2 callers
Function
getEraseParam
(params []string)
parser_action_helpers.go:92
↓ 2 callers
Method
modeDispatch
(param string, set bool)
parser_action_helpers.go:64
↓ 2 callers
Method
moveCursor
(moveMode int, param int)
winterm/cursor_helpers.go:49
↓ 2 callers
Method
moveCursorHorizontal
(param int)
winterm/cursor_helpers.go:45
↓ 2 callers
Method
moveCursorLine
(param int)
winterm/cursor_helpers.go:70
↓ 2 callers
Function
parseCmd
(context ansiContext)
parser_action_helpers.go:33
↓ 2 callers
Function
parseParams
(bytes []byte)
parser_action_helpers.go:7
↓ 2 callers
Method
scroll
scroll scrolls the provided scroll region by param lines. The scroll region is in buffer coordinates.
winterm/scroll_helper.go:52
↓ 2 callers
Method
scrollDown
(param int)
winterm/scroll_helper.go:26
↓ 2 callers
Function
scrollHelper
(t *testing.T, command byte, funcName string)
parser_test_helpers_test.go:106
↓ 2 callers
Function
validateEmptyContext
(t *testing.T, context *ansiContext)
parser_test_utilities_test.go:54
↓ 2 callers
Function
validateFuncCalls
(t *testing.T, actualCalls []string, expectedCalls []string)
parser_test_utilities_test.go:27
↓ 1 callers
Method
CHA
Cursor Horizontal position Absolute
event_handler.go:29
↓ 1 callers
Method
CNL
Cursor to Next Line
event_handler.go:23
↓ 1 callers
Method
CPL
Cursor to Previous Line
event_handler.go:26
↓ 1 callers
Method
CUB
CUrsor Backward
event_handler.go:20
↓ 1 callers
Method
CUD
CUrsor Down
event_handler.go:14
↓ 1 callers
Method
CUF
CUrsor Forward
event_handler.go:17
↓ 1 callers
Method
CUP
CUrsor Position
event_handler.go:35
↓ 1 callers
Method
CUU
CUrsor Up
event_handler.go:11
↓ 1 callers
Function
CreateParser
(initialState string, evtHandler AnsiEventHandler, opts ...Option)
parser.go:34
↓ 1 callers
Function
CreateTestAnsiEventHandler
()
test_event_handler_test.go:12
↓ 1 callers
Method
DA
Device Attributes
event_handler.go:77
↓ 1 callers
Method
DCH
Delete Character
event_handler.go:65
↓ 1 callers
Method
DECCOLM
132 Column Mode
event_handler.go:47
↓ 1 callers
Method
DECOM
Origin Mode
event_handler.go:44
↓ 1 callers
Method
DECSTBM
Set Top and Bottom Margins
event_handler.go:80
↓ 1 callers
Method
DECTCEM
Text Cursor Enable Mode
event_handler.go:41
↓ 1 callers
Method
DL
Delete Line
event_handler.go:59
↓ 1 callers
Method
ED
Erase in Display
event_handler.go:50
↓ 1 callers
Method
ED
(param int)
winterm/win_event_handler.go:447
↓ 1 callers
Method
EL
Erase in Line
event_handler.go:53
↓ 1 callers
Method
Enter
()
states.go:6
↓ 1 callers
Method
Exit
()
states.go:7
↓ 1 callers
Method
Flush
Flush updates from previous commands
event_handler.go:89
↓ 1 callers
Method
HVP
Horizontal and Vertical Position (depends on PUM)
event_handler.go:38
↓ 1 callers
Method
ICH
Insert Character
event_handler.go:62
↓ 1 callers
Method
IL
Insert Line
event_handler.go:56
↓ 1 callers
Method
IND
Index
event_handler.go:83
↓ 1 callers
Method
Print
Print
event_handler.go:5
↓ 1 callers
Method
RI
Reverse Index
event_handler.go:86
↓ 1 callers
Method
SD
Pan Up
event_handler.go:74
↓ 1 callers
Method
SGR
Set Graphics Rendition
event_handler.go:68
↓ 1 callers
Method
SU
Pan Down
event_handler.go:71
↓ 1 callers
Function
SetConsoleTextAttribute
SetConsoleTextAttribute sets the attributes of characters written to the console screen buffer by the WriteFile or WriteConsole function. See http://m
winterm/api.go:243
next →
1–100 of 224, ranked by callers