forked from github-starred/komodo
exit group view with Escape in addition to ArrowLeft
This commit is contained in:
@@ -200,7 +200,7 @@ const Group: Component<{
|
||||
}
|
||||
});
|
||||
useWindowKeyDown((e) => {
|
||||
if (e.key === "ArrowLeft") {
|
||||
if (e.key === "ArrowLeft" || e.key === "Escape") {
|
||||
p.exit();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user