aboutsummaryrefslogtreecommitdiffstats
path: root/com32/cmenu/libmenu/com32io.h
diff options
context:
space:
mode:
Diffstat (limited to 'com32/cmenu/libmenu/com32io.h')
-rw-r--r--com32/cmenu/libmenu/com32io.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/com32/cmenu/libmenu/com32io.h b/com32/cmenu/libmenu/com32io.h
index a73b9f3d..938eceeb 100644
--- a/com32/cmenu/libmenu/com32io.h
+++ b/com32/cmenu/libmenu/com32io.h
@@ -30,16 +30,18 @@ static inline beep()
/* BIOS Assisted output routines */
-void cswprint(const char *str, char attr, char left);
// Print a C str (NUL-terminated) respecting the left edge of window
// i.e. \n in str will move cursor to column left
// Print a C str (NUL-terminated)
-static inline void csprint(const char *str, char attr)
+void csprint(const char *str, char attr);
+
+static inline void cswprint(const char *str, char attr, char left)
{
- cswprint(str, attr, 0);
+ csprint(str, attr);
}
+
void cprint(char chr, char attr, unsigned int times, char disppage); // Print a char
void setdisppage(char num); // Set the display page to specified number