Commit 45c34984 authored by rswindell's avatar rswindell
Browse files

Change the PageUp and PageDown ctrl-key mapping to Ctrl-P (previous)

and Ctrl-N (next) instead Ctrl-U and Ctrl-D as that wasn't going to work with
fseditor.js's (Ctrl-U is quote).
parent e5e70afb
......@@ -165,8 +165,8 @@ var KEY_HOME ='\x02'; /* ctrl-b (home) */
var KEY_END ='\x05'; /* ctrl-e (end) */
var KEY_INSERT ='\x16'; /* ctrl-v (insert) */
var KEY_DEL ='\x7f'; /* ctrl-BkSpc (DEL) */
var KEY_PAGEUP ='\x15'; /* ctrl-u (Page Up) */
var KEY_PAGEDN ='\x04'; /* ctrl-d (Page Down) */
var KEY_PAGEUP ='\x10'; /* ctrl-p (Page Up) */
var KEY_PAGEDN ='\x0e'; /* ctrl-n (Page Down) */
/********************************************/
var KEY_ABORT ='\x03'; /* ctrl-c (cancel/abort/break) */
/********************************************/
......
......@@ -661,8 +661,8 @@ typedef enum { /* Values for xtrn_t.event */
#define TERM_KEY_INSERT CTRL_V
#define TERM_KEY_DELETE DEL
#define TERM_KEY_ABORT CTRL_C
#define TERM_KEY_PAGEUP CTRL_U
#define TERM_KEY_PAGEDN CTRL_D
#define TERM_KEY_PAGEUP CTRL_P
#define TERM_KEY_PAGEDN CTRL_N
/* Online status (online) */
#define ON_LOCAL 1 /* Online locally */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment