diff options
author | June McEnroe <june@causal.agency> | 2022-02-20 14:49:17 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2022-02-20 14:49:17 -0500 |
commit | a281bdc5e1700e25022536a5482b1fb41ece4219 (patch) | |
tree | d56b6b620de45055cbd53f0d10098df13c26a661 /input.c | |
parent | Use separate edit buffers for each ID (diff) | |
download | catgirl-a281bdc5e1700e25022536a5482b1fb41ece4219.tar.gz catgirl-a281bdc5e1700e25022536a5482b1fb41ece4219.zip |
Show indicator in status when window has pending input
Diffstat (limited to '')
-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; |