Skip to content

Commit e0e5c77

Browse files
authored
Start immediately with the main screen (#497)
There is little point in delaying startup when there are no "interesting" messages. Remove sleep(1); the user can still request a verbose run with `tlf -v` (this is the default on the first startup anyway). When having to restart tlf during a contest (after changing some setting for example), that second actually makes a difference.
1 parent db7c1c4 commit e0e5c77

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/showmsg.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ void clearmsg_wait(void) {
4242
move(LINES - 1, 0);
4343
clrtoeol();
4444
IGNORE(key_get());
45-
} else {
46-
sleep(1);
4745
}
4846
clearmsg();
4947
}

0 commit comments

Comments
 (0)