MCPcopy
hub / github.com/gdamore/tcell / SetSize

Method SetSize

vt/mock.go:156–159  ·  view source on GitHub ↗

SetSize is used to change the terminal size.

(size Coord)

Source from the content-addressed store, hash-verified

154
155// SetSize is used to change the terminal size.
156func (mt *mockTerm) SetSize(size Coord) {
157 mt.mb.SetSize(size)
158 mt.em.ResizeEvent(size)
159}
160
161// Backend returns the backend for testing.
162func (mt *mockTerm) Backend() MockBackend {

Callers

nothing calls this directly

Calls 2

SetSizeMethod · 0.65
ResizeEventMethod · 0.65

Tested by

no test coverage detected