[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [zile-devel] [2.0beta7] splash-screen and small terminal
From: |
Nicolas Duboc |
Subject: |
Re: [zile-devel] [2.0beta7] splash-screen and small terminal |
Date: |
Tue, 25 Jan 2005 19:59:10 +0100 |
User-agent: |
Mutt/1.5.6+20040722i |
On Thu, Jan 20, 2005 at 10:21:36PM +0100, Reuben Thomas wrote:
> >When configured to print splash-screen and started from a terminal with
> >less than 20 lines, the splash-screen overwrite the status line and the
> >mini-buffer.
> >
> >When the splash-screen disappears after timeout the minibuffer is not
> >updated and contains garbage.
>
> Thanks. Both the crash and the display problem will be fixed in 2.0beta8
> (and are now fixed in 2.1CVS).
Hi,
I'm testing zile-2.0beta8 and the splash-screen feature.
When "skip-splash-screen = true", zile displays an empty buffer, waits
for 20 seconds or a keypress before switching to the scratch buffer.
Here is a patch to get the previous behavior of zile (and behavior of
Emacs) : directly display the scratch.
#####################
diff -ur zile-2.0beta8.orig/src/main.c zile-2.0beta8/src/main.c
--- zile-2.0beta8.orig/src/main.c 2005-01-18 21:57:02.000000000 +0100
+++ zile-2.0beta8/src/main.c 2005-01-25 19:52:17.000000000 +0100
@@ -163,12 +163,13 @@
}
minibuf_write(about_minibuf_str);
- if (!lookup_bool_variable("skip-splash-screen"))
+ if (!lookup_bool_variable("skip-splash-screen")) {
show_splash_screen(about_splash_str);
- term_refresh();
+ term_refresh();
- if ((c = term_xgetkey(GETKEY_DELAYED, 20 * 10)) != KBD_NOKEY)
- term_unget(c);
+ if ((c = term_xgetkey(GETKEY_DELAYED, 20 * 10)) != KBD_NOKEY)
+ term_unget(c);
+ }
}
/*
#####################
--
Nicolas Duboc <address@hidden>
signature.asc
Description: Digital signature