message: contour: exception-guard around keyPressEvent
diff: #include <cstring>
  #include <fstream>
  +#include <stdexcept>
  using namespace std;
  using namespace std::placeholders;
  @@ -625,6 +626,8 @@ constexpr inline bool isModifier(Qt::Key _key)
  }
  void TerminalWindow::keyPressEvent(QKeyEvent* _keyEvent)
  +{
  + try
  {
  auto const keySeq = QKeySequence(isModifier(static_cast<Qt::Key>(_keyEvent->key()))
  ? _keyEvent->modifiers()
  @@ -655,6 +658,11 @@ void TerminalWindow::keyPressEvent(QKeyEvent* _keyEvent)
  }
  }
  }
  + catch (exception const& e)
  + {
  + cerr << fmt::format("Unhandled exception caught in keyPressEvent; {}; {}\n", typeid(e).name(), e.what());
  + }
  +}
  void TerminalWindow::wheelEvent(QWheelEvent* _event)
  {
  