#!/usr/bin/env python3
import sys
from PyQt5.QtWidgets import QApplication
from keyboard.ui.widgets import KeyboardWindow

if __name__ == '__main__':
  app = QApplication([])
  window = KeyboardWindow()
  window.showMaximized()
  sys.exit(app.exec())

@@ -27,16 +27,30 @@
 ort sys%0A
+import signal%0A
 from PyQ
@@ -157,16 +157,63 @@
 ain__':%0A
+  signal.signal(signal.SIGINT, signal.SIG_DFL)%0A
   app = 

Add signal handler to quit the application