Removed some whitespace
This commit is contained in:
parent
2f2a0e4aaa
commit
aa2aa107b8
|
@ -76,8 +76,6 @@ void redraw(struct Session* session)
|
||||||
output(seq, 3);
|
output(seq, 3);
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void newEditor(struct Session* session)
|
void newEditor(struct Session* session)
|
||||||
|
@ -88,7 +86,7 @@ void newEditor(struct Session* session)
|
||||||
/* Output the file as of now */
|
/* Output the file as of now */
|
||||||
redraw(session);
|
redraw(session);
|
||||||
|
|
||||||
//output("hello world", strlen("hello world"));
|
//output("hello world", strlen("hello world"));
|
||||||
while(session->isActive)
|
while(session->isActive)
|
||||||
{
|
{
|
||||||
char s;
|
char s;
|
||||||
|
@ -188,16 +186,12 @@ void newEditor(struct Session* session)
|
||||||
// output(l, strlen(l));
|
// output(l, strlen(l));
|
||||||
// output(&s, 1);
|
// output(&s, 1);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Redraw */
|
/* Redraw */
|
||||||
redraw(session);
|
redraw(session);
|
||||||
}
|
}
|
||||||
|
|
||||||
char* bye = "\nBye mate!\n";
|
char* bye = "\nBye mate!\n";
|
||||||
output(bye, strlen(bye));
|
output(bye, strlen(bye));
|
||||||
|
|
||||||
|
|
||||||
/* Restore tty settings */
|
/* Restore tty settings */
|
||||||
stopTTY();
|
stopTTY();
|
||||||
|
|
Loading…
Reference in New Issue