summary refs log tree commit diff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/input.c b/input.c
index b578d17..ad6d533 100644
--- a/input.c
+++ b/input.c
@@ -227,6 +227,10 @@ void inputUpdate(void) {
 	wmove(uiInput, y, pos);
 }
 
+bool inputPending(uint id) {
+	return edits[id].len;
+}
+
 static const struct {
 	const wchar_t *name;
 	const wchar_t *string;