We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
palette
command
1 parent 593de54 commit fdd3976Copy full SHA for fdd3976
internal/tui/tui.go
@@ -130,9 +130,10 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
130
if key.Matches(msg, m.keys.Quit) {
131
return m, tea.Quit
132
} else if key.Matches(msg, m.keys.Command) {
133
- palette := NewCommand(m.rootSlide)
134
- palette = palette.SetShowing(true)
135
- m.command = &palette
+ command := NewCommand(m.rootSlide)
+ command = command.SetShowing(true)
+ m.command = &command
136
+ return m, nil
137
return m, nil
138
} else if key.Matches(msg, m.keys.Next) {
139
if m.slide.Next == nil || m.slide.ActiveTransition != nil && m.slide.ActiveTransition.Animating() {
0 commit comments