From fa799768c4f6d97c5f60a37829ad1b457b7c0096 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Wed, 13 Apr 2022 19:51:54 -0400 Subject: separate from libc --- term/width_status_line.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 term/width_status_line.c (limited to 'term/width_status_line.c') diff --git a/term/width_status_line.c b/term/width_status_line.c new file mode 100644 index 0000000..b6ecdf6 --- /dev/null +++ b/term/width_status_line.c @@ -0,0 +1,11 @@ +#include + +#define width_status_line tigetnum("wsl") + +/** number of columns in a status line **/ + +/* +TERMINFO_NAME(wsl) +TERMCAP_NAME(ws) +XOPEN(400) +*/ -- cgit v1.2.1