Updated types.h
This commit is contained in:
parent
38c6705564
commit
05c9a16caf
15
src/types.h
15
src/types.h
|
@ -1,3 +1,15 @@
|
|||
/**
|
||||
* Represents the tty
|
||||
*/
|
||||
struct TTY
|
||||
{
|
||||
unsigned int rows;
|
||||
unsigned int columns;
|
||||
|
||||
unsigned int cursorX;
|
||||
unsigned int cursorY;
|
||||
};
|
||||
|
||||
/**
|
||||
* Represents an open editor session.
|
||||
*
|
||||
|
@ -24,4 +36,7 @@ struct Session
|
|||
unsigned int position;
|
||||
|
||||
char isActive;
|
||||
|
||||
/* Pointer to the tty struct (we could copy it in here but oof) */
|
||||
struct TTY* teletype;
|
||||
};
|
Loading…
Reference in New Issue