This fixes small error that showed up when tab completion inserted characters before end of line. Cursor in line was not moved correctly. --- android/client/terminal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/client/terminal.c b/android/client/terminal.c index 0421633..8dd3a25 100644 --- a/android/client/terminal.c +++ b/android/client/terminal.c @@ -140,7 +140,7 @@ void terminal_draw_command_line(void) putchar('>'); /* move cursor to it's place */ - terminal_move_cursor(line_len - line_buf_ix); + terminal_move_cursor(line_buf_ix - line_len); } /* inserts string into command line at cursor position */ -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html