MCPcopy
hub / github.com/charmbracelet/huh / WithHeight

Method WithHeight

form.go:180–180  ·  view source on GitHub ↗

WithHeight sets the height of a field.

(int)

Source from the content-addressed store, hash-verified

178
179 // WithHeight sets the height of a field.
180 WithHeight(int) Field
181
182 // WithPosition tells the field the index of the group and position it is in.
183 WithPosition(FieldPosition) Field

Callers 12

TestSelectFunction · 0.65
TestSelectDynamicFunction · 0.65
TestMultiSelectFunction · 0.65
TestSelectPageNavigationFunction · 0.65
NewGroupFunction · 0.65
WithHeightMethod · 0.65
getContentMethod · 0.65
WithHeightMethod · 0.65
UpdateMethod · 0.65
mainFunction · 0.65
mainFunction · 0.65
mainFunction · 0.65

Implementers 5

Confirmfield_confirm.go
Inputfield_input.go
FilePickerfield_filepicker.go
Textfield_text.go
Notefield_note.go

Calls

no outgoing calls

Tested by 4

TestSelectFunction · 0.52
TestSelectDynamicFunction · 0.52
TestMultiSelectFunction · 0.52
TestSelectPageNavigationFunction · 0.52