about summary refs log tree commit diff stats
path: root/src/ui/windows.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-02-05 23:34:03 +0000
committerJames Booth <boothj5@gmail.com>2013-02-05 23:34:03 +0000
commita01c0a9fddc8fa2ca1d3b6b7c787df35254a60e0 (patch)
treeed9d3c7b9e7d6e7005ccc701aebdf3a1eddd5f9c /src/ui/windows.c
parent3fa9ecb9d1f9fc24815d1fd6bd24f3a23886e885 (diff)
downloadprofani-tty-a01c0a9fddc8fa2ca1d3b6b7c787df35254a60e0.tar.gz
Show priority on login
Diffstat (limited to 'src/ui/windows.c')
-rw-r--r--src/ui/windows.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/windows.c b/src/ui/windows.c
index 331e78eb..1b9633c3 100644
--- a/src/ui/windows.c
+++ b/src/ui/windows.c
@@ -1118,6 +1118,8 @@ cons_show_login_success(ProfAccount *account)
     _presence_colour_on(console->win, presence_str);
     wprintw(console->win, "%s", presence_str);
     _presence_colour_off(console->win, presence_str);
+    wprintw(console->win, " (priority %d)",
+        accounts_get_priority_for_presence_type(account->name, presence));
     wprintw(console->win, ".\n");
 }