about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/ui/core.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/ui/core.c b/src/ui/core.c
index f5a75cfd..1c19e4f7 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -1935,6 +1935,14 @@ TODO add command to get help for a field
                 }
                 win_save_newline(window);
             }
+            if (g_strcmp0(field->type, "text-multi") == 0) {
+                win_save_newline(window);
+                while (curr_value != NULL) {
+                    char *value = curr_value->data;
+                    win_save_vprint(window, '-', NULL, 0, COLOUR_ONLINE, "", "  %s", value);
+                    curr_value = g_slist_next(curr_value);
+                }
+            }
             if (g_strcmp0(field->type, "boolean") == 0) {
                 if (curr_value == NULL) {
                     win_save_print(window, '-', NULL, NO_DATE, COLOUR_OFFLINE, "", "FALSE");
@@ -1984,6 +1992,15 @@ TODO add command to get help for a field
                     }
                 }
             }
+            if (g_strcmp0(field->type, "jid-single") == 0) {
+                if (curr_value != NULL) {
+                    char *value = curr_value->data;
+                    if (value != NULL) {
+                        win_save_print(window, '-', NULL, NO_DATE | NO_EOL, COLOUR_ONLINE, "", value);
+                    }
+                }
+                win_save_newline(window);
+            }
             if (g_strcmp0(field->type, "jid-multi") == 0) {
                 win_save_newline(window);
                 while (curr_value != NULL) {
@@ -1992,6 +2009,15 @@ TODO add command to get help for a field
                     curr_value = g_slist_next(curr_value);
                 }
             }
+            if (g_strcmp0(field->type, "fixed") == 0) {
+                if (curr_value != NULL) {
+                    char *value = curr_value->data;
+                    if (value != NULL) {
+                        win_save_print(window, '-', NULL, NO_DATE | NO_EOL, 0, "", value);
+                    }
+                }
+                win_save_newline(window);
+            }
         }
 
         curr_field = g_slist_next(curr_field);