Block sometimes
This commit is contained in:
parent
049f8534b9
commit
a71ca85a7a
@ -67,6 +67,7 @@ void home(UWORD *blackImage) {
|
||||
int i = 0;
|
||||
int ch;
|
||||
while (1) {
|
||||
timeout(-1);
|
||||
ch = getch();
|
||||
if (ch != ERR) {
|
||||
switch(ch) {
|
||||
@ -77,6 +78,7 @@ void home(UWORD *blackImage) {
|
||||
if (i < length - 1) i++;
|
||||
break;
|
||||
case '\n':
|
||||
timeout(0);
|
||||
GoString goConfigName;
|
||||
goConfigName.p = configNames[i];
|
||||
goConfigName.n = strlen(configNames[i]);
|
||||
|
Loading…
Reference in New Issue
Block a user