aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sciteco.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2013-02-16 02:22:51 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2013-02-16 02:22:51 +0100
commit7b16df057ce5b8cd5ad1870d5188ee11140e73b5 (patch)
treef593584458b8737738f0d7767a1e9d41dc71efc0 /src/sciteco.h
parentb08d5e7dad907493bc6946ab708640b567e2dffe (diff)
downloadsciteco-7b16df057ce5b8cd5ad1870d5188ee11140e73b5.tar.gz
function key support (keys without printable representation) using keyboard macros
* if enabled, when a function key is pressed it is looked up in Q-Registers ^F... e.g. HOME key corresponds to register ^FHOME * the string if available is inserted as if it was entered by key-presses (later it may be entered as a single input token which may be removed in a single rubout) * only NCurses currently, key names directly correspond to Curses key names * on Curses if function keys are enabled ESCAPE will be inserted after a delay (because function keys are transmitted via escape sequences). A function key macro may be used to define an alternative escape character
Diffstat (limited to 'src/sciteco.h')
-rw-r--r--src/sciteco.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sciteco.h b/src/sciteco.h
index e129a4c..e40b6f4 100644
--- a/src/sciteco.h
+++ b/src/sciteco.h
@@ -26,7 +26,8 @@
namespace Flags {
enum {
- ED_HOOKS = (1 << 5)
+ ED_HOOKS = (1 << 5),
+ ED_FNKEYS = (1 << 6)
};
extern gint64 ed;