From 3f54d883edc90d0e6419210eff6be8125ba89daf Mon Sep 17 00:00:00 2001 From: wrmr Date: Sat, 9 Nov 2024 16:11:39 -0500 Subject: rename con_lines -> con_rows, add con_size --- con.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'con.h') 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 -- cgit 1.4.1-2-gfad0