lkml.org 
[lkml]   [2012]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] kconfig/mconf.c: revision of curses initialization.
On Mon, Aug 06, 2012 at 05:19:43PM +0200, Dirk Gouders wrote:
> Hello,
>
> I noticed that in mconf, initscr() is called twice -- as far as I found
> out since commit d0e1e09568.
>
> In case you see a need to fix that:
>
> I first thought about simply removing the call in init_dialog() in
> util.c but then had the feeling that saving of initial cursor positions
> also perhaps is better done in that function...
>
> Dirk
>
> ------------------------------------------------------------------------
> From 1a4022eedbee6032dea16f67bbe4028a8d3d07a0 Mon Sep 17 00:00:00 2001
> From: Dirk Gouders <gouders@et.bocholt.fh-gelsenkirchen.de>
> Date: Mon, 6 Aug 2012 16:48:23 +0200
> Subject: [PATCH] kconfig/mconf.c: revision of curses initialization.
>
> Since commit d0e1e09568 initscr() is called twice in mconf.
>
> Do it only in init_dialog() in util.c and there also save the
> cursor position for the signal handler in mconf.c.
>
> Signed-off-by: Dirk Gouders <gouders@et.bocholt.fh-gelsenkirchen.de>

Applied to kbuild.git#kconfig, thanks.

Michal


\
 
 \ /
  Last update: 2012-08-30 15:41    [W:0.033 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site