summaryrefslogtreecommitdiffstats
path: root/mbbsd/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/read.c')
-rw-r--r--mbbsd/read.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mbbsd/read.c b/mbbsd/read.c
index 02292db5..1629a9d1 100644
--- a/mbbsd/read.c
+++ b/mbbsd/read.c
@@ -627,6 +627,12 @@ i_read_key(const onekey_t * rcmdlist, keeploc_t * locmem,
new_top = 0;
break;
+ /* add home(top entry) support? */
+ case KEY_HOME:
+ new_ln = 0;
+ new_top = 0;
+ break;
+
case KEY_END:
case '$':
new_ln = last_line;