From: Pierre Habouzit Date: Sat, 10 Nov 2007 18:30:53 +0000 (+0100) Subject: don't keep the header for now. X-Git-Url: http://git.madism.org/?a=commitdiff_plain;h=51f3b41879d6df19c4549803a11e9f0dd34c8ffb;p=apps%2Fmadmutt.git don't keep the header for now. Signed-off-by: Pierre Habouzit --- diff --git a/lib-ui/curs_lib.c b/lib-ui/curs_lib.c index 619cb31..dc42e30 100644 --- a/lib-ui/curs_lib.c +++ b/lib-ui/curs_lib.c @@ -148,7 +148,7 @@ void mutt_edit_file(const char *data) getmaxyx(main_w, mh, mw); SigChild = 0; - rt = madtty_create(mh - 2, mw); + rt = madtty_create(mh - 1, mw); pid = madtty_forkpty(rt, args[0], args, &pty); if (pid < 0) { madtty_destroy(rt); @@ -181,7 +181,7 @@ void mutt_edit_file(const char *data) gettimeofday(&tv, NULL); if (dirty && is_expired(tv, next)) { - madtty_draw(rt, main_w, 1, 0); + madtty_draw(rt, main_w, 0, 0); wrefresh(main_w); dirty = 0; next = timeval_add(tv, slice);