MCPcopy
hub / github.com/qustavo/httplab / Set

Method Set

ui/ui.go:80–82  ·  view source on GitHub ↗

Set sets the cursor position.

(view string, x, y int)

Source from the content-addressed store, hash-verified

78
79// Set sets the cursor position.
80func (c Cursors) Set(view string, x, y int) {
81 c[view] = struct{ x, y int }{x, y}
82}
83
84// UI represent the state of the ui.
85type UI struct {

Callers 7

TestDumpRequestWithJSONFunction · 0.80
TestDumpRequestHeadersFunction · 0.80
UnmarshalJSONMethod · 0.80
NewResponseFunction · 0.80
WriteMethod · 0.80
InitMethod · 0.80
setViewMethod · 0.80

Calls

no outgoing calls

Tested by 2

TestDumpRequestWithJSONFunction · 0.64
TestDumpRequestHeadersFunction · 0.64