Mercurial > hg > nnchat
comparison ui.c @ 493:56689f94e827
Simplify ctrl+L screen refreshing.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 27 May 2012 11:43:59 +0300 |
parents | 796508f828f6 |
children | f8fc6d18bcdb |
comparison
equal
deleted
inserted
replaced
492:73f8df0ecffe | 493:56689f94e827 |
---|---|
366 | 366 |
367 return 0; | 367 return 0; |
368 } | 368 } |
369 | 369 |
370 | 370 |
371 void nnwin_update_all(void) | |
372 { | |
373 if (mainWin) redrawwin(mainWin); | |
374 if (statusWin) redrawwin(statusWin); | |
375 if (editWin) redrawwin(editWin); | |
376 } | |
377 | |
378 | |
379 char *nnwin_prompt_requester(WINDOW *win, const char *info, BOOL allowEmpty) | 371 char *nnwin_prompt_requester(WINDOW *win, const char *info, BOOL allowEmpty) |
380 { | 372 { |
381 char tmpBuf[512], *ptr; | 373 char tmpBuf[512], *ptr; |
382 size_t pos; | 374 size_t pos; |
383 int curSave = curs_set(1); | 375 int curSave = curs_set(1); |