Merges from Irssi CVS.
[crypto.git] / apps / irssi / src / fe-common / core / formats.h
index 4d459c1cf89c526506d9844745a317f0a2474c7c..7dbdd90423ff0860bd773fa40194acc607d6a604 100644 (file)
@@ -13,6 +13,7 @@
 #define GUI_PRINT_FLAG_INDENT_FUNC   0x0040
 #define GUI_PRINT_FLAG_NEWLINE       0x0080
 #define GUI_PRINT_FLAG_CLRTOEOL      0x0100
+#define GUI_PRINT_FLAG_MONOSPACE     0x0200
 
 #define MAX_FORMAT_PARAMS 10
 #define DEFAULT_FORMAT_ARGLIST_SIZE 200
@@ -42,7 +43,7 @@ struct _FORMAT_REC {
 #define PRINT_FLAG_SET_SERVERTAG       0x0010
 #define PRINT_FLAG_UNSET_SERVERTAG     0x0020
 
-typedef struct {
+typedef struct _TEXT_DEST_REC {
        WINDOW_REC *window;
        SERVER_REC *server;
         const char *server_tag; /* if server is non-NULL, must be server->tag */
@@ -131,6 +132,7 @@ void format_send_to_gui(TEXT_DEST_REC *dest, const char *text);
 #define FORMAT_STYLE_INDENT_FUNC (0x06 + FORMAT_STYLE_SPECIAL)
 #define FORMAT_STYLE_DEFAULTS  (0x07 + FORMAT_STYLE_SPECIAL)
 #define FORMAT_STYLE_CLRTOEOL  (0x08 + FORMAT_STYLE_SPECIAL)
+#define FORMAT_STYLE_MONOSPACE (0x09 + FORMAT_STYLE_SPECIAL)
 int format_expand_styles(GString *out, const char **format, int *flags);
 
 void formats_init(void);