MCPcopy
hub / github.com/liamg/darktile / GetMaxLines

Method GetMaxLines

internal/app/darktile/termutil/buffer.go:787–794  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

785}
786
787func (buffer *Buffer) GetMaxLines() uint64 {
788 result := buffer.maxLines
789 if result < uint64(buffer.viewHeight) {
790 result = uint64(buffer.viewHeight)
791 }
792
793 return result
794}
795
796func (buffer *Buffer) setVerticalMargins(top uint, bottom uint) {
797 buffer.topMargin = top

Callers 2

insertLineMethod · 0.95
indexMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected