summaryrefslogtreecommitdiff
path: root/chinese/irssi/files/patch-src::fe-text::term-terminfo.c
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2004-04-11 13:25:23 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2004-04-11 13:25:23 +0000
commitc153e272b6cca6e865c9624d69f5ebcdb293a9b2 (patch)
tree67e30983e8376fdf6331cc9cb2dd3b1ed9f1e3c9 /chinese/irssi/files/patch-src::fe-text::term-terminfo.c
parentBROKEN: Install fails (diff)
Fix pasting bug(>128bytes).
Submitted by: kcwu via #bsdchat
Diffstat (limited to '')
-rw-r--r--chinese/irssi/files/patch-src::fe-text::term-terminfo.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/chinese/irssi/files/patch-src::fe-text::term-terminfo.c b/chinese/irssi/files/patch-src::fe-text::term-terminfo.c
index 03780431111b..eb2e26ceaa35 100644
--- a/chinese/irssi/files/patch-src::fe-text::term-terminfo.c
+++ b/chinese/irssi/files/patch-src::fe-text::term-terminfo.c
@@ -1,5 +1,5 @@
--- src/fe-text/term-terminfo.c.orig Mon Oct 20 03:10:02 2003
-+++ src/fe-text/term-terminfo.c Sun Dec 14 01:54:28 2003
++++ src/fe-text/term-terminfo.c Sun Apr 11 21:11:41 2004
@@ -421,16 +421,21 @@
if (vcy == term_height-1 && vcx == term_width-1)
return; /* last char in screen */
@@ -33,3 +33,12 @@
term_printed_text(len);
if (vcy != term_height || vcx != 0)
+@@ -640,7 +645,7 @@
+ if (i >= term_inbuf_pos)
+ term_inbuf_pos = 0;
+ else if (i > 0) {
+- memmove(term_inbuf+i, term_inbuf, term_inbuf_pos-i);
++ memmove(term_inbuf, term_inbuf+i, term_inbuf_pos-i);
+ term_inbuf_pos -= i;
+ }
+ }