MCPcopy Create free account

hub / github.com/Azure/go-ansiterm / functions

Functions224 in github.com/Azure/go-ansiterm

↓ 31 callersMethodFlush
()
winterm/win_event_handler.go:687
↓ 31 callersFunctionfuncCallParamHelper
(t *testing.T, bytes []byte, start string, expected string, expectedCalls []string)
parser_test_helpers_test.go:39
↓ 28 callersMethodrecordCall
(call string, params []string)
test_event_handler_test.go:18
↓ 27 callersMethodclearWrap
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 callersFunctionsliceContains
(bytes []byte, b byte)
utilities.go:7
↓ 17 callersFunctiongetByteRange
(start byte, end byte)
constants.go:118
↓ 16 callersMethodName
()
states.go:9
↓ 15 callersFunctionGetConsoleScreenBufferInfo
GetConsoleScreenBufferInfo retrieves information about the specified console screen buffer. See http://msdn.microsoft.com/en-us/library/windows/deskto
winterm/api.go:214
↓ 15 callersFunctiongetInt
(params []string, dflt int)
parser_action_helpers.go:37
↓ 15 callersFunctionparseParamsHelper
(t *testing.T, bytes []byte, expectedParams []string)
parser_test_helpers_test.go:50
↓ 15 callersFunctionuse
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 callersFunctionstateTransitionHelper
(t *testing.T, start string, end string, bytes []byte)
parser_test_helpers_test.go:19
↓ 11 callersFunctioncheckError
checkError evaluates the results of a Windows API call and returns the error if it failed.
winterm/api.go:306
↓ 8 callersMethodHandle
(byte)
states.go:8
↓ 8 callersFunctioncreateTestParser
(s string)
parser_test_utilities_test.go:7
↓ 7 callersFunctionSetConsoleCursorPosition
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 callersFunctioncursorSingleParamHelper
(t *testing.T, command byte, funcName string)
parser_test_helpers_test.go:75
↓ 6 callersMethodParse
(bytes []byte)
parser.go:97
↓ 6 callersMethodexecute
()
parser_actions.go:117
↓ 6 callersMethodgetCurrentInfo
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 callersMethodTransition
(state)
states.go:10
↓ 5 callersFunctionanyToXHelper
(t *testing.T, bytes []byte, expectedState string)
parser_test_helpers_test.go:32
↓ 5 callersFunctioncoordToPointer
coordToPointer converts a COORD into a uintptr (by fooling the type system).
winterm/api.go:320
↓ 5 callersMethodeffectiveSr
effectiveSr gets the current effective scroll region in buffer coordinates
winterm/scroll_helper.go:6
↓ 5 callersMethodgetCursorWindow
(info *CONSOLE_SCREEN_BUFFER_INFO)
winterm/cursor_helpers.go:10
↓ 5 callersFunctiongetInts
(params []string, minCount int, dflt int)
parser_action_helpers.go:42
↓ 5 callersMethodsetCursorPosition
setCursorPosition sets the cursor to the specified position, bounded to the screen size
winterm/cursor_helpers.go:30
↓ 5 callersMethodupdatePos
(pos COORD)
winterm/win_event_handler.go:730
↓ 5 callersFunctionvalidateState
(t *testing.T, actualState state, expectedStateName string)
parser_test_utilities_test.go:14
↓ 3 callersMethodCUP
(row int, col int)
winterm/win_event_handler.go:364
↓ 3 callersMethodExecute
Execute C0 commands
event_handler.go:8
↓ 3 callersMethodclear
()
parser_actions.go:112
↓ 3 callersMethodclearRect
(attributes uint16, fromCoord COORD, toCoord COORD)
winterm/erase_helpers.go:61
↓ 3 callersMethodcollectInter
()
parser_actions.go:10
↓ 3 callersFunctionensureInRange
ensureInRange adjusts the passed value, if necessary, to ensure it is within the passed min / max range.
winterm/ansi.go:154
↓ 3 callersMethodmoveCursorVertical
(param int)
winterm/cursor_helpers.go:41
↓ 3 callersMethodscrollUp
(param int)
winterm/scroll_helper.go:16
↓ 3 callersMethodsimulateLF
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 callersFunctionScrollConsoleScreenBuffer
(handle uintptr, scrollRect SMALL_RECT, clipRect SMALL_RECT, destOrigin COORD, char CHAR_INFO)
winterm/api.go:223
↓ 2 callersFunctionSetConsoleScreenBufferSize
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 callersFunctionSetConsoleWindowInfo
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 callersFunctionWriteConsoleOutput
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 callersFunctionaddInRange
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 callersFunctionc0Helper
(t *testing.T, bytes []byte, expectedState string, expectedCalls []string)
parser_test_helpers_test.go:124
↓ 2 callersFunctionclearOnStateChangeHelper
(t *testing.T, start string, end string, bytes []byte)
parser_test_helpers_test.go:115
↓ 2 callersMethodclearRange
(attributes uint16, fromCoord COORD, toCoord COORD)
winterm/erase_helpers.go:7
↓ 2 callersMethodcollectParam
()
parser_actions.go:3
↓ 2 callersMethodcsiDispatch
()
parser_actions.go:39
↓ 2 callersFunctioncursorTwoParamHelper
(t *testing.T, command byte, funcName string)
parser_test_helpers_test.go:85
↓ 2 callersMethoddeleteCharacters
(param int)
winterm/scroll_helper.go:81
↓ 2 callersMethoddeleteLines
(param int)
winterm/scroll_helper.go:30
↓ 2 callersFunctioneraseHelper
(t *testing.T, command byte, funcName string)
parser_test_helpers_test.go:95
↓ 2 callersMethodescDispatch
()
parser_actions.go:17
↓ 2 callersMethodexecuteLF
executeLF executes a LF without a CR.
winterm/win_event_handler.go:154
↓ 2 callersFunctionfillContext
(context *ansiContext)
parser_test_utilities_test.go:48
↓ 2 callersFunctiongetEraseParam
(params []string)
parser_action_helpers.go:92
↓ 2 callersMethodmodeDispatch
(param string, set bool)
parser_action_helpers.go:64
↓ 2 callersMethodmoveCursor
(moveMode int, param int)
winterm/cursor_helpers.go:49
↓ 2 callersMethodmoveCursorHorizontal
(param int)
winterm/cursor_helpers.go:45
↓ 2 callersMethodmoveCursorLine
(param int)
winterm/cursor_helpers.go:70
↓ 2 callersFunctionparseCmd
(context ansiContext)
parser_action_helpers.go:33
↓ 2 callersFunctionparseParams
(bytes []byte)
parser_action_helpers.go:7
↓ 2 callersMethodscroll
scroll scrolls the provided scroll region by param lines. The scroll region is in buffer coordinates.
winterm/scroll_helper.go:52
↓ 2 callersMethodscrollDown
(param int)
winterm/scroll_helper.go:26
↓ 2 callersFunctionscrollHelper
(t *testing.T, command byte, funcName string)
parser_test_helpers_test.go:106
↓ 2 callersFunctionvalidateEmptyContext
(t *testing.T, context *ansiContext)
parser_test_utilities_test.go:54
↓ 2 callersFunctionvalidateFuncCalls
(t *testing.T, actualCalls []string, expectedCalls []string)
parser_test_utilities_test.go:27
↓ 1 callersMethodCHA
Cursor Horizontal position Absolute
event_handler.go:29
↓ 1 callersMethodCNL
Cursor to Next Line
event_handler.go:23
↓ 1 callersMethodCPL
Cursor to Previous Line
event_handler.go:26
↓ 1 callersMethodCUB
CUrsor Backward
event_handler.go:20
↓ 1 callersMethodCUD
CUrsor Down
event_handler.go:14
↓ 1 callersMethodCUF
CUrsor Forward
event_handler.go:17
↓ 1 callersMethodCUP
CUrsor Position
event_handler.go:35
↓ 1 callersMethodCUU
CUrsor Up
event_handler.go:11
↓ 1 callersFunctionCreateParser
(initialState string, evtHandler AnsiEventHandler, opts ...Option)
parser.go:34
↓ 1 callersFunctionCreateTestAnsiEventHandler
()
test_event_handler_test.go:12
↓ 1 callersMethodDA
Device Attributes
event_handler.go:77
↓ 1 callersMethodDCH
Delete Character
event_handler.go:65
↓ 1 callersMethodDECCOLM
132 Column Mode
event_handler.go:47
↓ 1 callersMethodDECOM
Origin Mode
event_handler.go:44
↓ 1 callersMethodDECSTBM
Set Top and Bottom Margins
event_handler.go:80
↓ 1 callersMethodDECTCEM
Text Cursor Enable Mode
event_handler.go:41
↓ 1 callersMethodDL
Delete Line
event_handler.go:59
↓ 1 callersMethodED
Erase in Display
event_handler.go:50
↓ 1 callersMethodED
(param int)
winterm/win_event_handler.go:447
↓ 1 callersMethodEL
Erase in Line
event_handler.go:53
↓ 1 callersMethodEnter
()
states.go:6
↓ 1 callersMethodExit
()
states.go:7
↓ 1 callersMethodFlush
Flush updates from previous commands
event_handler.go:89
↓ 1 callersMethodHVP
Horizontal and Vertical Position (depends on PUM)
event_handler.go:38
↓ 1 callersMethodICH
Insert Character
event_handler.go:62
↓ 1 callersMethodIL
Insert Line
event_handler.go:56
↓ 1 callersMethodIND
Index
event_handler.go:83
↓ 1 callersMethodPrint
Print
event_handler.go:5
↓ 1 callersMethodRI
Reverse Index
event_handler.go:86
↓ 1 callersMethodSD
Pan Up
event_handler.go:74
↓ 1 callersMethodSGR
Set Graphics Rendition
event_handler.go:68
↓ 1 callersMethodSU
Pan Down
event_handler.go:71
↓ 1 callersFunctionSetConsoleTextAttribute
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