projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into nohook
[apps/madmutt.git]
/
lib-ui
/
layout.c
diff --git
a/lib-ui/layout.c
b/lib-ui/layout.c
index
d8e09a4
..
eb5c2f0
100644
(file)
--- a/
lib-ui/layout.c
+++ b/
lib-ui/layout.c
@@
-59,7
+59,7
@@
void mutt_refresh(void)
void mutt_endwin(const char *msg)
{
if (!option(OPTNOCURSES)) {
void mutt_endwin(const char *msg)
{
if (!option(OPTNOCURSES)) {
- CLEARLINE(
main_w
, LINES - 1);
+ CLEARLINE(
stdscr
, LINES - 1);
if (sidebar_w) {
delwin(sidebar_w);
if (sidebar_w) {
delwin(sidebar_w);
@@
-84,7
+84,7
@@
void mutt_endwin(const char *msg)
void ui_layout_init(void)
{
void ui_layout_init(void)
{
-
clear
();
+
erase
();
main_w = newwin(LINES - 1, COLS, 0, 0);
SETCOLOR(main_w, MT_COLOR_NORMAL);
mutt_error = mutt_curses_error;
main_w = newwin(LINES - 1, COLS, 0, 0);
SETCOLOR(main_w, MT_COLOR_NORMAL);
mutt_error = mutt_curses_error;