summaryrefslogtreecommitdiff
path: root/term/cpi_change_res.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2022-04-13 19:51:54 -0400
committerJakob Kaivo <jkk@ung.org>2022-04-13 19:51:54 -0400
commitfa799768c4f6d97c5f60a37829ad1b457b7c0096 (patch)
treeed28b64735a6a79b10ecf1a87296f36e88745f4e /term/cpi_change_res.c
separate from libc
Diffstat (limited to 'term/cpi_change_res.c')
-rw-r--r--term/cpi_change_res.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/term/cpi_change_res.c b/term/cpi_change_res.c
new file mode 100644
index 0000000..b949f13
--- /dev/null
+++ b/term/cpi_change_res.c
@@ -0,0 +1,11 @@
+#include <term.h>
+
+#define cpi_change_res tigetflag("cpix")
+
+/** changing character pitch changes resolution **/
+
+/*
+TERMINFO_NAME(cpix)
+TERMCAP_NAME(YF)
+XOPEN(400)
+*/