Import of pkgsrc-2014Q1

This commit is contained in:
2014-04-17 16:38:45 +02:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions

View File

@@ -0,0 +1,23 @@
$NetBSD: patch-source_input.c,v 1.1 2014/03/12 07:22:34 mrg Exp $
fix a problem with the input line when it goes beyond the screen size
Index: source/input.c
===================================================================
RCS file: /home/cvs/ircii/source/input.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -p -r1.55 -r1.56
*** source/input.c 30 Dec 2013 16:42:38 -0000 1.55
--- source/input.c 30 Jan 2014 10:13:06 -0000 1.56
*************** update_input(update)
*** 488,493 ****
--- 484,491 ----
}
}
VisBuf[optr] = '\0';
+ if (old_cursor_pos > inputdata->cursor_x)
+ old_cursor_pos = 0;
term_move_cursor(old_cursor_pos, inputdata->cursor_y);
written = output_line(VisBuf + old_cursor_pos, 0);
if (term_clear_to_eol() && written < current_screen->co)