diff --git a/src/Session.h b/src/Session.h index 85109ceed..07b59095b 100644 --- a/src/Session.h +++ b/src/Session.h @@ -51,6 +51,17 @@ class TerminalDisplay; class ZModemDialog; class HistoryType; +/** + * Platform-specific main shortcut "opcode": + */ +enum Modifier { +#ifdef Q_OS_MAC + ACCEL = Qt::META +#else + ACCEL = Qt::CTRL +#endif +}; + /** * Represents a terminal session consisting of a pseudo-teletype and a terminal emulation. * The pseudo-teletype (or PTY) handles I/O between the terminal process and Konsole.