From bcf3b17e83b08554cbe279c01cea78148c39583c Mon Sep 17 00:00:00 2001 From: xolatile Date: Mon, 28 Aug 2023 18:53:13 -0400 Subject: [PATCH] Again... --- xtandard.c | 17 ----------------- xtandard.h | 10 ++++------ 2 files changed, 4 insertions(+), 23 deletions(-) diff --git a/xtandard.c b/xtandard.c index 209d7f6..4f771ee 100644 --- a/xtandard.c +++ b/xtandard.c @@ -117,23 +117,6 @@ void * record (void) { return (buffer); } -void curses_style (int effect, int colour) { - char format [8] = "\033[ ;3 m"; - - if ((effect == -1) || (colour == -1)) { - out ("\033[0m", 5); - } else { - format [2] = (char) effect + '0'; - format [5] = (char) colour + '0'; - - out (format, 8); - } -} - -void curses_clear (void) { - out ("\033[2J", 5); -} - int string_length (char * string) { int length = 0; diff --git a/xtandard.h b/xtandard.h index dc591d8..3caf0fd 100644 --- a/xtandard.h +++ b/xtandard.h @@ -46,16 +46,14 @@ extern void * memorize (int); extern void * record (void); -extern void curses_style (int, int); -extern void curses_clear (void); - extern int string_length (char *); extern void string_delete (char *); extern void string_reverse (char *); -extern int string_compare (char *, char *); -extern void string_copy (char *, char *); -extern void string_concatenate (char *, char *); +extern int string_compare (char *, char *); +extern void string_copy (char *, char *); +extern void string_concatenate (char *, char *); + extern int string_compare_limit (char *, char *, int); extern void string_copy_limit (char *, char *, int); extern void string_concatenate_limit (char *, char *, int);