# HG changeset patch # User Matti Hamalainen # Date 1373152142 -10800 # Node ID 7c593c9303e8ef596f54fcf4216540369e811dfb # Parent 199fd337103559091b0dadc69ed6c500c00accbd Add another tiny screen update flush check. diff -r 199fd3371035 -r 7c593c9303e8 main.c --- a/main.c Sun Jul 07 02:08:46 2013 +0300 +++ b/main.c Sun Jul 07 02:09:02 2013 +0300 @@ -2124,10 +2124,12 @@ editState.isError = TRUE; // Handle user input + BOOL flushed = FALSE; if (appCursesInit) { nnwin_input_process(editBuf, &editState, processUserInput); nnwin_update(editState.update, editState.mask, editBuf, optUserName, optUserColor); + flushed = TRUE; } if (++updateCount > 10) @@ -2147,7 +2149,7 @@ nn_conn_send_msg_v(conn, optUserNameEnc, "%%2FSetFontColor%%20%%2Dcolor%%20%06X", optUserColor); } - if (appCursesInit) + if (appCursesInit && !flushed) { nnwin_update(FALSE, editState.mask, editBuf, optUserName, optUserColor); }