MUC: Nickname completion starts from any non-space character
Thanks to bb for the suggestion.
--- a/mcabber/src/screen.c Sat Jun 16 12:30:43 2007 +0200
+++ b/mcabber/src/screen.c Sat Jun 16 17:17:04 2007 +0200
@@ -2860,7 +2860,7 @@
// line. Let's try a bit harder and complete the current word.
row = prev_char(ptr_inputline, inputLine);
while (row >= inputLine) {
- if (!iswalnum(get_char(row)) && get_char(row) != '_') {
+ if (iswspace(get_char(row)) || get_char(row) == '(') {
row = next_char((char*)row);
break;
}