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.
1 parent a327a3d commit adfa594Copy full SHA for adfa594
tui.go
@@ -52,7 +52,7 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
52
switch msg := msg.(type) {
53
case tea.KeyMsg:
54
switch msg.String() {
55
- case "enter":
+ case tea.KeyEnter.String():
56
return m, openEditor(m.list.SelectedItem().(repo).path)
57
case "u":
58
return m, tea.Sequence(m.list.SetItems([]list.Item{}), m.Init())
0 commit comments