Fix bug in line input echoing
authorP. F. Chimento <philip.chimento@gmail.com>
Mon, 25 Apr 2011 19:05:35 +0000 (21:05 +0200)
committerP. F. Chimento <philip.chimento@gmail.com>
Mon, 25 Apr 2011 19:05:35 +0000 (21:05 +0200)
Line echo status wasn't changed when requesting unicode line input

libchimara/input.c

index 1963bfd3378bd97e5ab9cc1502217fb7fe9c4acc..df2203b70f0357f7179e1d155c1b4146d25b89a9 100644 (file)
@@ -317,6 +317,7 @@ glk_request_line_event_uni(winid_t win, glui32 *buf, glui32 maxlen, glui32 initl
        win->input_request_type = INPUT_REQUEST_LINE_UNICODE;
        win->line_input_buffer_unicode = buf;
        win->line_input_buffer_max_len = maxlen;
+       win->echo_current_line_input = win->echo_line_input;
        win->current_extra_line_terminators = g_slist_copy(win->extra_line_terminators);
 
        gchar *utf8;