tests
This commit is contained in:
parent
a2bfacedba
commit
51fe76b5e8
12
ste.c
12
ste.c
@ -82,6 +82,9 @@ static void rowAdd (char *s, int len);
|
||||
//inline void bufferFree (void);
|
||||
static int whatsThat (void);
|
||||
|
||||
/* testing */
|
||||
void updateInfo (void);
|
||||
|
||||
/* --------------------------------- main ------------------------------------ */
|
||||
int main (int argc, char *argv[])
|
||||
{
|
||||
@ -462,3 +465,12 @@ int whatsThat (void) {
|
||||
}
|
||||
|
||||
/*--------------------------------- garbage ------------------------------------*/
|
||||
|
||||
void updateInfo (void)
|
||||
{
|
||||
getmaxyx(stdscr, t.dim.y, t.dim.x);
|
||||
t.dim.y -= 1;
|
||||
t.dim.x -= t.pad + 1;
|
||||
}
|
||||
|
||||
/*--------------------------------- testing ------------------------------------*/
|
Loading…
Reference in New Issue
Block a user