Working on TextArea Field

This commit is contained in:
2026-02-26 11:23:51 -06:00
parent d4ec3f210c
commit f18b53809d
2 changed files with 340 additions and 4 deletions

View File

@@ -188,10 +188,8 @@ func (w *Field) SetSize(c Coord) {
}
func (w *Field) Focusable() bool { return w.focusable }
func (w *Field) SetFocusable(b bool) { w.focusable = b }
func (w *Field) MinW() int {
return len(w.label) + len(w.value)
}
func (w *Field) MinH() int { return 1 }
func (w *Field) MinW() int { return len(w.label) + len(w.value) }
func (w *Field) MinH() int { return 1 }
/* Non-Widget-Interface Functions */
func (w *Field) handleBackspace(_ *tcell.EventKey) bool {