summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-06-28 23:07:48 +0200
committerDave Davenport <qball@gmpclient.org>2016-06-28 23:07:48 +0200
commit9f25a975ae97df5cbb050825d157f221a9e88110 (patch)
tree454770c41f7b0e1c091a4fe935acc0b3875b02af /include
parent3ac07c3535cf344ade1848b6c06d236e39a88111 (diff)
Fix windowcd command and allow custom Window string format
Diffstat (limited to 'include')
-rw-r--r--include/settings.h2
-rw-r--r--include/textbox.h18
2 files changed, 11 insertions, 9 deletions
diff --git a/include/settings.h b/include/settings.h
index ff9393a5..d08abd88 100644
--- a/include/settings.h
+++ b/include/settings.h
@@ -131,6 +131,8 @@ typedef struct
unsigned int scroll_method;
/** Background type */
char *fake_background;
+
+ char *window_format;
} Settings;
/** Global Settings structure. */
extern Settings config;
diff --git a/include/textbox.h b/include/textbox.h
index a7619f7d..455904f8 100644
--- a/include/textbox.h
+++ b/include/textbox.h
@@ -39,15 +39,15 @@ typedef struct
typedef enum
{
- TB_AUTOHEIGHT = 1 << 0,
- TB_AUTOWIDTH = 1 << 1,
- TB_LEFT = 1 << 16,
- TB_RIGHT = 1 << 17,
- TB_CENTER = 1 << 18,
- TB_EDITABLE = 1 << 19,
- TB_MARKUP = 1 << 20,
- TB_WRAP = 1 << 21,
- TB_PASSWORD = 1 << 22,
+ TB_AUTOHEIGHT = 1 << 0,
+ TB_AUTOWIDTH = 1 << 1,
+ TB_LEFT = 1 << 16,
+ TB_RIGHT = 1 << 17,
+ TB_CENTER = 1 << 18,
+ TB_EDITABLE = 1 << 19,
+ TB_MARKUP = 1 << 20,
+ TB_WRAP = 1 << 21,
+ TB_PASSWORD = 1 << 22,
} TextboxFlags;
typedef enum