fix close modal
This commit is contained in:
@@ -177,6 +177,7 @@ func helpBarConfig(view ViewKind) HelpBarConfig {
|
||||
{Key: "v", Desc: "kanban"},
|
||||
{Key: "↑/k", Desc: "up"},
|
||||
{Key: "↓/j", Desc: "down"},
|
||||
{Key: "/", Desc: "search"},
|
||||
{Key: "a", Desc: "add"},
|
||||
{Key: "c", Desc: "comment"},
|
||||
{Key: "e/d/s/p/t/A", Desc: "edit"},
|
||||
@@ -188,6 +189,7 @@ func helpBarConfig(view ViewKind) HelpBarConfig {
|
||||
{Key: "v", Desc: "kanban"},
|
||||
{Key: "↑/k", Desc: "up"},
|
||||
{Key: "↓/j", Desc: "down"},
|
||||
{Key: "/", Desc: "search"},
|
||||
{Key: "a", Desc: "add issue"},
|
||||
{Key: "c", Desc: "add comment"},
|
||||
{Key: "x", Desc: "delete issue"},
|
||||
@@ -208,6 +210,7 @@ func helpBarConfig(view ViewKind) HelpBarConfig {
|
||||
{Key: "v", Desc: "list view"},
|
||||
{Key: "↑/k", Desc: "up"},
|
||||
{Key: "↓/j", Desc: "down"},
|
||||
{Key: "/", Desc: "search"},
|
||||
{Key: "pgup/pgdn", Desc: "page"},
|
||||
{Key: "h/l", Desc: "column"},
|
||||
{Key: "←/→", Desc: "move"},
|
||||
@@ -223,6 +226,7 @@ func helpBarConfig(view ViewKind) HelpBarConfig {
|
||||
{Key: "←/→", Desc: "move issue"},
|
||||
{Key: "↑/k", Desc: "up"},
|
||||
{Key: "↓/j", Desc: "down"},
|
||||
{Key: "/", Desc: "search"},
|
||||
{Key: "pgup", Desc: "page up"},
|
||||
{Key: "pgdn", Desc: "page down"},
|
||||
{Key: "a", Desc: "add issue"},
|
||||
|
||||
@@ -27,7 +27,7 @@ func DefaultCommonKeyMap() CommonKeyMap {
|
||||
key.WithHelp("?", "help"),
|
||||
),
|
||||
Quit: key.NewBinding(
|
||||
key.WithKeys("q", "ctrl+c"),
|
||||
key.WithKeys("q"),
|
||||
key.WithHelp("q", "quit"),
|
||||
),
|
||||
ScrollUp: key.NewBinding(
|
||||
|
||||
Reference in New Issue
Block a user