From adc683b7fa847bc1776e3bece532c39aff12b039 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Wed, 7 Sep 2022 14:20:59 +0100 Subject: Allow space-separated, per-word matches. --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index fa4ca48..dae7e12 100644 --- a/src/main.c +++ b/src/main.c @@ -158,7 +158,7 @@ static void handle_keypress(struct tofi *tofi, xkb_keycode_t keycode) sizeof(buf)); wchar_t ch; mbtowc(&ch, buf, sizeof(buf)); - if (len > 0 && iswprint(ch) && (entry->drun || !iswblank(ch))) { + if (len > 0 && iswprint(ch)) { if (entry->input_length < N_ELEM(entry->input) - 1) { entry->input[entry->input_length] = ch; entry->input_length++; -- cgit v1.2.3