Linefeed properly in main() in demo files
This commit is contained in:
parent
d54b7b4274
commit
eee8ddcee3
|
@ -10,7 +10,8 @@ static void on_key(termkey_t *tk, termkey_key *key)
|
||||||
printf("%s\n", buffer);
|
printf("%s\n", buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[])
|
||||||
|
{
|
||||||
TERMKEY_CHECK_VERSION;
|
TERMKEY_CHECK_VERSION;
|
||||||
|
|
||||||
termkey_t *tk = termkey_new(0, 0);
|
termkey_t *tk = termkey_new(0, 0);
|
||||||
|
|
Loading…
Reference in New Issue