summary refs log tree commit diff
path: root/con.h
diff options
context:
space:
mode:
authorwrmr2024-11-09 16:11:39 -0500
committerwrmr2024-11-09 16:11:39 -0500
commit3f54d883edc90d0e6419210eff6be8125ba89daf (patch)
tree191c787dc1b457048421451d6f17e6c120c59483 /con.h
parent71a195a0e4f603669657dd4534dbdcccafcd016c (diff)
rename con_lines -> con_rows, add con_size
Diffstat (limited to 'con.h')
-rw-r--r--con.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/con.h b/con.h
index 0c6fa33..ab2f16a 100644
--- a/con.h
+++ b/con.h
@@ -1,7 +1,12 @@
 #ifndef CON_H
 #define CON_H
 
-unsigned con_lines(void);
+struct consz {
+	unsigned rows, cols;
+};
+
+struct consz con_size(void);
+unsigned con_rows(void);
 unsigned con_cols(void);
 
 #endif