diff options
author | DebXWoody <stefan@debxwoody.de> | 2021-05-29 20:16:21 +0200 |
---|---|---|
committer | DebXWoody <stefan@debxwoody.de> | 2021-05-29 20:16:21 +0200 |
commit | 1526a00123f2a00447a2578a11a451c26025b101 (patch) | |
tree | 53e20595fa3d423ad3a356fdf66d18a5e51b0c4f /src/ui/core.c | |
parent | 6dd11f0fff27d9019c9e362fc2567f2a0c64690b (diff) | |
download | profani-tty-1526a00123f2a00447a2578a11a451c26025b101.tar.gz |
Attention flag - Implemented Alt+m
Diffstat (limited to 'src/ui/core.c')
-rw-r--r-- | src/ui/core.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ui/core.c b/src/ui/core.c index 4e4e39a0..50fba846 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -996,6 +996,18 @@ ui_win_unread(int index) } } +gboolean +ui_win_has_attention(int index) +{ + ProfWin* window = wins_get_by_num(index); + if (window) { + return win_has_attention(window); + } else { + return 0; + } +} + + char* ui_ask_password(gboolean confirm) { |