[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [BUG] "mistakes" in wrong rc file
From: |
Brand Huntsman |
Subject: |
Re: [Nano-devel] [BUG] "mistakes" in wrong rc file |
Date: |
Mon, 15 Jan 2018 00:41:00 -0700 |
On Fri, 12 Jan 2018 10:57:09 +0100
Benno Schulenberg <address@hidden> wrote:
> > Another problem is that nothing gets printed after window_init(),
> > so the rcfile_error() in color_to_short() is never seen.
>
> Moving the above call fixes this problem. Except that the error
> message gets printed without any carriage returns. :|
No messages should be sent after the initscr() call. The patch at
https://savannah.gnu.org/bugs/?52871 parses the interface colors
immediately, just like syntax colors. And then set_colorpairs() reads them from
colortype structs just as it does syntax colors.
Another option (hack) is to add \r after every \n that is output between
initscr() and window_init().