Increased prompt reprint delay.
- The client's prompt now delays for twice as long to ensure that an updated prompt is displayed next.
This commit is contained in:
parent
8f08265c52
commit
995a177c37
|
@ -52,7 +52,7 @@ void * messageSender(void * parameters)
|
|||
// Repeatedly get input from the user, place it in a userMessage, and send it to the server:
|
||||
while (!shouldExit)
|
||||
{
|
||||
usleep(100000);
|
||||
usleep(200000);
|
||||
// Clear the window:
|
||||
wprintw(window, "\n\n\n");
|
||||
|
||||
|
|
|
@ -436,7 +436,8 @@ bool getIndexFromList(list * list, void * data, listDataType type, size_t * inde
|
|||
return false;
|
||||
}
|
||||
|
||||
for(*index = 0; *index < list->itemCount; *index += 1)
|
||||
// Search through the list, one-by-one, comparing the list items:
|
||||
for (*index = 0; *index < list->itemCount; *index += 1)
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue