chiark
/
gitweb
/
~ianmdlvl
/
sympathy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[sympathy.git]
/
src
/
crt.h
diff --git
a/src/crt.h
b/src/crt.h
index 933dc7bfac04a419b05ff7bd633edb51d8b30640..5883c04e7522fb6143a14d00cdf1a479816eaadf 100644
(file)
--- a/
src/crt.h
+++ b/
src/crt.h
@@
-12,6
+12,15
@@
/*
* $Log$
/*
* $Log$
+ * Revision 1.12 2008/02/26 23:23:17 james
+ * *** empty log message ***
+ *
+ * Revision 1.11 2008/02/26 19:08:27 james
+ * *** empty log message ***
+ *
+ * Revision 1.10 2008/02/24 00:42:53 james
+ * *** empty log message ***
+ *
* Revision 1.9 2008/02/20 19:25:09 james
* *** empty log message ***
*
* Revision 1.9 2008/02/20 19:25:09 james
* *** empty log message ***
*
@@
-45,7
+54,7
@@
#define __CRT_H__
#define CRT_ROWS 25
#define __CRT_H__
#define CRT_ROWS 25
-#define CRT_COLS
80
+#define CRT_COLS
132
#define CRT_CELS (CRT_ROWS*CRT_COLS)
#define CRT_ADDR(r,c) (((r)*CRT_COLS)+(c))
#define CRT_CELS (CRT_ROWS*CRT_COLS)
#define CRT_ADDR(r,c) (((r)*CRT_COLS)+(c))
@@
-84,9
+93,9
@@
#define CRT_COLOR_NORMAL CRT_MAKE_COLOR(CRT_FGCOLOR_NORMAL,CRT_BGCOLOR_NORMAL)
#define CRT_COLOR_NORMAL CRT_MAKE_COLOR(CRT_FGCOLOR_NORMAL,CRT_BGCOLOR_NORMAL)
-typedef struct
+typedef struct
__attribute__ ((packed))
{
{
- uint
8
_t chr;
+ uint
32
_t chr;
uint8_t attr;
uint8_t color;
} CRT_CA;
uint8_t attr;
uint8_t color;
} CRT_CA;
@@
-109,8
+118,8
@@
typedef struct CRT_struct
{
CRT_CA screen[CRT_CELS];
CRT_Pos pos;
{
CRT_CA screen[CRT_CELS];
CRT_Pos pos;
- CRT_ScrollHint sh;
int hide_cursor;
int hide_cursor;
+ int width;
} CRT;
} CRT;