From bf2cc7c457debc1d7f9ba0d7fa5a1a983039c2ef Mon Sep 17 00:00:00 2001 From: Charlie Gordon Date: Fri, 21 Apr 2017 12:26:44 +0000 Subject: [PATCH] html: fix cursor movement functions - add default versions of move_word_left_right, move_bof and move_eof functions --- html.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/html.c b/html.c index 3d7f651..31ac336 100644 --- a/html.c +++ b/html.c @@ -927,6 +927,9 @@ ModeDef html_mode = { .move_up_down = html_move_up_down, .move_bol = html_move_bol, .move_eol = html_move_eol, + .move_bof = text_move_bof, /* XXX: should refine */ + .move_eof = text_move_eof, /* XXX: should refine */ + .move_word_left_right = text_move_word_left_right, /* XXX: refine */ .scroll_up_down = html_scroll_up_down, .mouse_goto = html_mouse_goto, .write_char = text_write_char,