about summary refs log tree commit diff stats
path: root/src/ui/core.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-10-07 21:31:34 +0100
committerJames Booth <boothj5@gmail.com>2014-10-07 21:31:34 +0100
commit4f0009312fce5c9c711209b461709fcdbf12c4aa (patch)
treeba909441467a7bebcf056d87c1aac64ac14fdb1e /src/ui/core.c
parentfb84c6dcd0d6697f7dba5f8c8d4ad7bd646a0f7e (diff)
downloadprofani-tty-4f0009312fce5c9c711209b461709fcdbf12c4aa.tar.gz
Added help to form config
Diffstat (limited to 'src/ui/core.c')
-rw-r--r--src/ui/core.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/ui/core.c b/src/ui/core.c
index b477fc8a..e5d643fd 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -2488,8 +2488,6 @@ _ui_show_form(ProfWin *window, const char * const room, DataForm *form)
 
         curr_field = g_slist_next(curr_field);
     }
-
-    win_save_println(window, "");
 }
 
 static void
@@ -2514,6 +2512,12 @@ _ui_handle_room_configuration(const char * const room, DataForm *form)
     ui_switch_win(num);
 
     ui_show_form(window, room, form);
+
+    win_save_print(window, '-', NULL, 0, 0, "", "");
+    win_save_print(window, '-', NULL, 0, COLOUR_ROOMINFO, "", "Use '/form submit' to save changes.");
+    win_save_print(window, '-', NULL, 0, COLOUR_ROOMINFO, "", "Use '/form cancel' to cancel changes.");
+    win_save_print(window, '-', NULL, 0, COLOUR_ROOMINFO, "", "See '/form help' for more information.");
+    win_save_print(window, '-', NULL, 0, 0, "", "");
 }
 
 static void
@@ -2696,7 +2700,7 @@ static void
 _ui_show_form_help(ProfWin *window, DataForm *form)
 {
     if (form->instructions != NULL) {
-        win_save_print(window, '-', NULL, 0, 0, "", "Instructions:");
+        win_save_print(window, '-', NULL, 0, 0, "", "Supplied instructions:");
         win_save_print(window, '-', NULL, 0, 0, "", form->instructions);
         win_save_print(window, '-', NULL, 0, 0, "", "");
     }