slackware-current/source/n/irssi/irssi.ctrl-space.diff
Patrick J Volkerding 1cf9f87b65 Mon Apr 27 20:27:30 UTC 2020
a/mkinitrd-1.4.11-x86_64-15.txz:  Rebuilt.
  Use the standard mktemp utility from GNU coreutils, not the old tempfile.
d/help2man-1.47.15-x86_64-1.txz:  Upgraded.
l/aspell-en-2019.10.06_0-x86_64-1.txz:  Upgraded.
l/gtk+3-3.24.20-x86_64-1.txz:  Upgraded.
l/imagemagick-7.0.10_9-x86_64-1.txz:  Upgraded.
n/irssi-1.2.2-x86_64-2.txz:  Rebuilt.
  Fixed ctrl-space killing input with recent glib.
  Thanks to tramtrist and Urchlay.
x/xterm-354-x86_64-1.txz:  Upgraded.
extra/aspell-word-lists/aspell-de-20161207_7_0-x86_64-1.txz:  Upgraded.
extra/aspell-word-lists/aspell-ga-5.1_0-x86_64-1.txz:  Upgraded.
extra/aspell-word-lists/aspell-it-2.4_20070901_0-x86_64-1.txz:  Upgraded.
extra/aspell-word-lists/aspell-ml-0.04_1-x86_64-1.txz:  Upgraded.
extra/aspell-word-lists/aspell-pl-6.0_20200327_0-x86_64-1.txz:  Upgraded.
extra/aspell-word-lists/aspell-pt_BR-20131030_12_0-x86_64-1.txz:  Upgraded.
extra/aspell-word-lists/aspell-pt_PT-20190329_1_0-x86_64-1.txz:  Upgraded.
extra/aspell-word-lists/aspell-sk-2.02_0-x86_64-1.txz:  Upgraded.
extra/aspell-word-lists/aspell-tl-0.4_0-x86_64-1.txz:  Upgraded.
2020-04-28 08:59:53 +02:00

11 lines
508 B
Diff

diff -Naur irssi-1.2.2/src/fe-text/term-terminfo.c irssi-1.2.2.patched/src/fe-text/term-terminfo.c
--- irssi-1.2.2/src/fe-text/term-terminfo.c 2019-08-29 09:48:46.000000000 -0400
+++ irssi-1.2.2.patched/src/fe-text/term-terminfo.c 2020-04-26 04:15:02.007493067 -0400
@@ -673,6 +673,7 @@
static int input_utf8(const unsigned char *buffer, int size, unichar *result)
{
unichar c = g_utf8_get_char_validated((char *)buffer, size);
+ if(*buffer == '\0') c = (unichar)-1;
switch (c) {
case (unichar)-1: