diff options
author | June McEnroe | 2022-02-20 14:49:17 -0500 |
---|---|---|
committer | June McEnroe | 2022-02-20 14:49:17 -0500 |
commit | a281bdc5e1700e25022536a5482b1fb41ece4219 (patch) | |
tree | d56b6b620de45055cbd53f0d10098df13c26a661 /input.c | |
parent | 012fd67539cdf1c13edbb6047253e168d1814cd3 (diff) |
Show indicator in status when window has pending input
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 4 |
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; |