aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin_console.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gwin/gwin_console.h')
-rw-r--r--src/gwin/gwin_console.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gwin/gwin_console.h b/src/gwin/gwin_console.h
index fdf77e67..437968e0 100644
--- a/src/gwin/gwin_console.h
+++ b/src/gwin/gwin_console.h
@@ -34,15 +34,15 @@ typedef struct GConsoleObject {
gCoord cx, cy; // Cursor position
#if GWIN_CONSOLE_ESCSEQ
- uint8_t startattr; // ANSI-like escape sequences
- uint8_t currattr;
- uint16_t escstate;
+ gU8 startattr; // ANSI-like escape sequences
+ gU8 currattr;
+ gU16 escstate;
#endif
#if GWIN_CONSOLE_USE_HISTORY
char * buffer; // buffer to store console content
- size_t bufsize; // size of buffer
- size_t bufpos; // the position of the next char
+ gMemSize bufsize; // size of buffer
+ gMemSize bufpos; // the position of the next char
#endif
#if GFX_USE_OS_CHIBIOS && GWIN_CONSOLE_USE_BASESTREAM
@@ -141,7 +141,7 @@ void gwinPutString(GHandle gh, const char *str);
*
* @api
*/
-void gwinPutCharArray(GHandle gh, const char *str, size_t n);
+void gwinPutCharArray(GHandle gh, const char *str, gMemSize n);
/**
* @brief Print a formatted string at the cursor position in the window. It will wrap lines as required.