[w3m-dev 02616]

From: Tsutomu Okada <okada@furuno.co.jp>
This commit is contained in:
Fumitoshi UKAI
2001-12-04 16:33:08 +00:00
parent 5f5421a6f2
commit 691bc6df98
4 changed files with 31 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
/* $Id: display.c,v 1.11 2001/12/02 16:26:08 ukai Exp $ */
/* $Id: display.c,v 1.12 2001/12/04 16:33:08 ukai Exp $ */
#include <signal.h>
#include "fm.h"
@@ -190,6 +190,8 @@ static Buffer *save_current_buf = NULL;
int in_check_url = FALSE;
char *delayed_msg = NULL;
void
displayBuffer(Buffer *buf, int mode)
{
@@ -315,6 +317,11 @@ displayBuffer(Buffer *buf, int mode)
Strcat_charp(msg, "\tNo Line");
clear();
}
if (delayed_msg != NULL) {
disp_message(delayed_msg, FALSE);
delayed_msg = NULL;
refresh();
}
standout();
message(msg->ptr, buf->cursorX + buf->rootX, buf->cursorY);
standend();
@@ -858,6 +865,12 @@ disp_message_nomouse(char *s, int redraw_current)
}
#endif
void
set_delayed_message(char *s)
{
delayed_msg = allocStr(s, -1);
}
void
cursorUp(Buffer *buf, int n)
{