Add back "Enter" shortcut

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
This commit is contained in:
Victor Seiji Hariki 2022-11-30 19:18:32 -03:00
parent ce78370eb3
commit 7394ffff57
No known key found for this signature in database
GPG key ID: F369E3EA50A0DEEE

View file

@ -204,9 +204,12 @@ const _generate = async (endpoint, request, bb) => {
case "ArrowLeft":
prevImg();
break;
case "Escape":
case "Enter":
applyImg();
break;
case "Escape":
discardImg();
break;
default:
break;
}