aboutsummaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/ipc.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modules/ipc.js b/src/modules/ipc.js
index 55737b7..57820b5 100644
--- a/src/modules/ipc.js
+++ b/src/modules/ipc.js
@@ -30,3 +30,10 @@ ipcMain.on("relaunch", () => {
app.exit(0);
})
+
+ipcMain.on("send-enter-key", (e, coords) => {
+ e.sender.sendInputEvent({
+ type: "char",
+ keyCode: "enter"
+ })
+})