diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-04-19 23:19:49 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-04-19 23:19:49 +0900 |
commit | c7a9fafe524bdb6549860057d3ecd92f4c931a4d (patch) | |
tree | d108405d91269a89c16883114f6fdefce56262ed /konsole/konsole/TEmulation.h | |
parent | 1e170d411c6679af09864192b3d8354c7385d7cf (diff) | |
download | tdebase-c7a9fafe524bdb6549860057d3ecd92f4c931a4d.tar.gz tdebase-c7a9fafe524bdb6549860057d3ecd92f4c931a4d.zip |
Added support for handling Meta key as Alt key in terminal emulation.
This relates to bug 1026.
Diffstat (limited to 'konsole/konsole/TEmulation.h')
-rw-r--r-- | konsole/konsole/TEmulation.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/konsole/konsole/TEmulation.h b/konsole/konsole/TEmulation.h index a5f432175..6eac5f91b 100644 --- a/konsole/konsole/TEmulation.h +++ b/konsole/konsole/TEmulation.h @@ -89,6 +89,7 @@ public: virtual void setMode (int) = 0; virtual void resetMode(int) = 0; + void setMetaKeyMode(bool mode) { metaKeyMode = mode; } virtual void sendString(const char*) = 0; @@ -119,6 +120,7 @@ protected: bool connected; // communicate with widget bool listenToKeyPress; // listen to input + bool metaKeyMode; // true -> meta key is handled as Alt void setCodec(int c); // codec number, 0 = locale, 1=utf8 |