home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplified clearing of terminal by using clear() instead of homebrew code.
[plomrogue]
/
windows.h
diff --git
a/windows.h
b/windows.h
index 690ba44eebdf9f36c490be14449fa0bf9b3e8b1d..e3f4eb684fb21f4d5659fe816bfd7dc441df10ac 100644
(file)
--- a/
windows.h
+++ b/
windows.h
@@
-2,8
+2,7
@@
struct WinMeta {
struct Win * chain_start;
struct Win * chain_end;
struct Win * active;
struct Win * chain_start;
struct Win * chain_end;
struct Win * active;
- int height;
- int width; };
+ int height; };
struct Win {
struct Win * prev;
struct Win {
struct Win * prev;
@@
-11,8
+10,6
@@
struct Win {
int width;
int height;
WINDOW * curses_win;
int width;
int height;
WINDOW * curses_win;
- char border_left;
- char border_down;
char * title;
void (* draw) (struct Win *);
void * data; };
char * title;
void (* draw) (struct Win *);
void * data; };