package tk

import (
	
	
)

// Label is a Renderer that writes out a text.
type Label struct {
	Content ui.Text
}

// Render shows the content. If the given box is too small, the text is cropped.
func ( Label) (,  int) *term.Buffer {
	// TODO: Optimize by stopping as soon as $height rows are written.
	 := term.NewBufferBuilder()
	.WriteStyled(.Content)
	 := .Buffer()
	.TrimToLines(0, )
	return 
}

// Handle always returns false.
func ( Label) ( term.Event) bool {
	return false
}