mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
parent
42300fdc18
commit
0f0cd4cdab
@ -201,7 +201,7 @@ _cons_about(void)
|
||||
cons_check_version(FALSE);
|
||||
}
|
||||
|
||||
prefresh(console->win, 0, 0, 1, 0, rows-3, cols-1);
|
||||
pnoutrefresh(console->win, 0, 0, 1, 0, rows-3, cols-1);
|
||||
|
||||
wins_refresh_console();
|
||||
cons_alert();
|
||||
|
@ -104,6 +104,7 @@ _ui_refresh(void)
|
||||
title_bar_refresh();
|
||||
status_bar_refresh();
|
||||
inp_put_back();
|
||||
doupdate();
|
||||
}
|
||||
|
||||
static unsigned long
|
||||
|
@ -45,7 +45,7 @@
|
||||
#include "ui/windows.h"
|
||||
#include "xmpp/xmpp.h"
|
||||
|
||||
#define _inp_win_refresh() prefresh(inp_win, 0, pad_start, rows-1, 0, rows-1, cols-1)
|
||||
#define _inp_win_refresh() pnoutrefresh(inp_win, 0, pad_start, rows-1, 0, rows-1, cols-1)
|
||||
|
||||
static WINDOW *inp_win;
|
||||
static int pad_start = 0;
|
||||
@ -208,6 +208,7 @@ _inp_get_password(char *passwd)
|
||||
{
|
||||
_clear_input();
|
||||
_inp_win_refresh();
|
||||
doupdate();
|
||||
noecho();
|
||||
mvwgetnstr(inp_win, 0, 1, passwd, MAX_PASSWORD_SIZE);
|
||||
wmove(inp_win, 0, 0);
|
||||
|
@ -100,7 +100,7 @@ _status_bar_refresh(void)
|
||||
if (dirty) {
|
||||
_status_bar_update_time();
|
||||
_update_win_statuses();
|
||||
wrefresh(status_bar);
|
||||
wnoutrefresh(status_bar);
|
||||
inp_put_back();
|
||||
dirty = FALSE;
|
||||
}
|
||||
|
@ -52,7 +52,7 @@ _create_title_bar(void)
|
||||
wbkgd(win, COLOUR_TITLE_TEXT);
|
||||
title_bar_console();
|
||||
title_bar_set_presence(CONTACT_OFFLINE);
|
||||
wrefresh(win);
|
||||
wnoutrefresh(win);
|
||||
inp_put_back();
|
||||
}
|
||||
|
||||
@ -254,7 +254,7 @@ _title_bar_draw(void)
|
||||
mvwaddch(win, 0, cols - 2, ']');
|
||||
wattroff(win, COLOUR_TITLE_BRACKET);
|
||||
|
||||
wrefresh(win);
|
||||
wnoutrefresh(win);
|
||||
inp_put_back();
|
||||
}
|
||||
|
||||
|
@ -110,7 +110,7 @@ win_refresh(ProfWin *window)
|
||||
{
|
||||
int rows, cols;
|
||||
getmaxyx(stdscr, rows, cols);
|
||||
prefresh(window->win, window->y_pos, 0, 1, 0, rows-3, cols-1);
|
||||
pnoutrefresh(window->win, window->y_pos, 0, 1, 0, rows-3, cols-1);
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -279,7 +279,7 @@ wins_resize_all(void)
|
||||
|
||||
ProfWin *current_win = wins_get_current();
|
||||
|
||||
prefresh(current_win->win, current_win->y_pos, 0, 1, 0, rows-3, cols-1);
|
||||
pnoutrefresh(current_win->win, current_win->y_pos, 0, 1, 0, rows-3, cols-1);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user