aboutsummaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-11-09 21:58:32 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-11-09 21:58:32 +0100
commit73a3d7a5e2c38b67841cd86d8d108641ea47636e (patch)
treeb19dd17b57fdc61fc2cb7c498294d42fc8b5316d /config.h
parentConsistency (diff)
downloadst-73a3d7a5e2c38b67841cd86d8d108641ea47636e.tar.gz
st-73a3d7a5e2c38b67841cd86d8d108641ea47636e.tar.bz2
st-73a3d7a5e2c38b67841cd86d8d108641ea47636e.tar.xz
st-73a3d7a5e2c38b67841cd86d8d108641ea47636e.tar.zst
st-73a3d7a5e2c38b67841cd86d8d108641ea47636e.zip
Added anygeometry patch
Diffstat (limited to 'config.h')
-rw-r--r--config.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/config.h b/config.h
index ca1040a..fa87abb 100644
--- a/config.h
+++ b/config.h
@@ -140,6 +140,12 @@ const char *colorname[] = {
/*
+ * Whether to use pixel geometry or cell geometry
+ */
+
+static Geometry geometry = CellGeometry;
+
+/*
* Default colors (colorname index)
* foreground, background, cursor, reverse cursor
*/
@@ -149,6 +155,13 @@ unsigned int defaultcs = 258;
unsigned int defaultrcs = 257;
/*
+ * Default width and height (including borders!)
+ */
+
+static unsigned int width = 564;
+static unsigned int height = 364;
+
+/*
* Default shape of cursor
* 2: Block ("█")
* 4: Underline ("_")