summary refs log tree commit diff
path: root/edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'edit.c')
-rw-r--r--edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/edit.c b/edit.c
index 720d7fd..5aa3de4 100644
--- a/edit.c
+++ b/edit.c
@@ -81,7 +81,7 @@ static struct {
 static void tabComplete(uint id) {
 	if (!tab.len) {
 		tab.pos = pos;
-		while (tab.pos && buf[tab.pos - 1] != L' ') tab.pos--;
+		while (tab.pos && !iswspace(buf[tab.pos - 1])) tab.pos--;
 		if (tab.pos == pos) return;
 		tab.pre = pos - tab.pos;
 		tab.len = tab.pre;
url.c?h=2.0a&id=068cff107e7147ba9dc8fb723a07a6d0a4bd80dd&follow=1'>Add urlOpenMatchJune McEnroe 2018-09-10Depend on man.sh for chroot.tar targetJune McEnroe 2018-09-10Set LESSSECURE=1 in man.shJune McEnroe 2018-09-10Add /man commandJune McEnroe 2018-09-10Install man page in chrootJune McEnroe 2018-09-10Install man pageJune McEnroe 2018-09-10Split keys into subsections and document colorsJune McEnroe 2018-09-10Add "blank" lines to chatte.1June McEnroe 2018-09-10Document key bindings in chatte.1June McEnroe 2018-09-08Document slash commands in chatte.1June McEnroe