diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-04 16:33:08 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-04 16:33:08 +0000 |
commit | 691bc6df988c57468494472ce34ee38cbb31d837 (patch) | |
tree | b9d96a0cb04f8d330d5cd39ac09ef9dcbdbaa8cb /display.c | |
parent | [w3m-dev 02615] (diff) | |
download | w3m-691bc6df988c57468494472ce34ee38cbb31d837.tar.gz w3m-691bc6df988c57468494472ce34ee38cbb31d837.zip |
[w3m-dev 02616]
From: Tsutomu Okada <okada@furuno.co.jp>
Diffstat (limited to 'display.c')
-rw-r--r-- | display.c | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -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(); @@ -859,6 +866,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) { if (buf->firstLine == NULL) |