Linefeed properly in main() in demo files

This commit is contained in:
Paul LeoNerd Evans 2008-12-08 22:54:14 +00:00
parent d54b7b4274
commit eee8ddcee3
2 changed files with 4 additions and 2 deletions

View File

@ -10,7 +10,8 @@ static void on_key(termkey_t *tk, termkey_key *key)
printf("%s\n", buffer);
}
int main(int argc, char *argv[]) {
int main(int argc, char *argv[])
{
TERMKEY_CHECK_VERSION;
termkey_t *tk = termkey_new(0, 0);

3
demo.c
View File

@ -2,7 +2,8 @@
#include "termkey.h"
int main(int argc, char *argv[]) {
int main(int argc, char *argv[])
{
TERMKEY_CHECK_VERSION;
char buffer[50];