mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
Pasting multibyte chars was buggy, patch by Kuang-che Wu
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3251 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
777bb76195
commit
5df03ca730
@ -646,7 +646,7 @@ int term_gets(unichar *buffer, int size)
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user