mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 02:59:09 -07:00
docs: fix typos and clean up comments
This commit is contained in:
committed by
Christian Rocha
parent
76c3c1a221
commit
4880cf2a09
@@ -87,7 +87,7 @@ func (m model) Init() tea.Cmd {
|
||||
func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
||||
switch msg := msg.(type) {
|
||||
case tea.WindowSizeMsg:
|
||||
// If we set a width on the help menu it can it can gracefully truncate
|
||||
// If we set a width on the help menu it can gracefully truncate
|
||||
// its view as needed.
|
||||
m.help.Width = msg.Width
|
||||
|
||||
|
||||
Reference in New Issue
Block a user