diff options
-rw-r--r-- | content/fetch.c | 1 | ||||
-rw-r--r-- | frontends/kolibrios/fb/fbtk/text.c | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/content/fetch.c b/content/fetch.c index 2887d3ad8..64e639c0c 100644 --- a/content/fetch.c +++ b/content/fetch.c @@ -615,6 +615,7 @@ void fetch_abort(struct fetch *f) /* exported interface documented in content/fetch.h */ void fetch_free(struct fetch *f) { + debug_board_printf("-- Finished for url = %s\n", nsurl_access(f->url)); NSLOG(fetch, DEBUG, "Freeing fetch %p, fetcher %p", f, diff --git a/frontends/kolibrios/fb/fbtk/text.c b/frontends/kolibrios/fb/fbtk/text.c index 948c5ffd8..f20c26cdd 100644 --- a/frontends/kolibrios/fb/fbtk/text.c +++ b/frontends/kolibrios/fb/fbtk/text.c @@ -388,6 +388,22 @@ text_input(fbtk_widget_t *widget, fbtk_callback_info *cbi) } break; + case NSFB_KEY_HOME: + if (widget->u.text.idx > 0) { + widget->u.text.idx = 0; + + caret_moved = true; + } + break; + + case NSFB_KEY_END: + if (widget->u.text.idx < widget->u.text.len) { + widget->u.text.idx = widget->u.text.len; + + caret_moved = true; + } + break; + case NSFB_KEY_PAGEUP: case NSFB_KEY_PAGEDOWN: case NSFB_KEY_UP: |