MCPcopy
hub / github.com/jesseduffield/lazygit / Size

Method Size

pkg/gocui/gui.go:287–289  ·  view source on GitHub ↗

Size returns the terminal's size.

()

Source from the content-addressed store, hash-verified

285
286// Size returns the terminal's size.
287func (g *Gui) Size() (x, y int) {
288 return g.maxX, g.maxY
289}
290
291// SetRune writes a rune at the given point, relative to the top-left
292// corner of the terminal. It checks if the position is valid and applies

Callers 8

tailLogsForPlatformFunction · 0.45
layoutMethod · 0.45
AppendLineToFileMethod · 0.45
NewGuiFunction · 0.45
flushMethod · 0.45
SnapshotMethod · 0.45
pollEventMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected