From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51570) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvSi3-0008Je-2T for qemu-devel@nongnu.org; Sat, 15 Oct 2016 13:25:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bvShx-0003zS-OD for qemu-devel@nongnu.org; Sat, 15 Oct 2016 13:25:20 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:35579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvShx-0003y7-H5 for qemu-devel@nongnu.org; Sat, 15 Oct 2016 13:25:17 -0400 Date: Sat, 15 Oct 2016 19:24:39 +0200 From: Samuel Thibault Message-ID: <20161015172439.GA16269@var> References: <1466610278-22670-1-git-send-email-samuel.thibault@ens-lyon.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH] Reduce curses escdelay from 1s to 0.2s List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers , Gerd Hoffmann Hello, Peter Maydell, on Wed 22 Jun 2016 21:49:04 +0100, wrote: > On 22 June 2016 at 16:44, Samuel Thibault wrote: > > By default, curses will only report single ESC key event after 1s delay, > > since ESC is also used for keypad escape sequences. This however makes users > > believe that ESC is not working. Reducing to 0.2s provides good enough user > > experience, while still allowing 200ms for keypad sequences to get in, which > > should be more than enough. > > That the default delay is this massive seems like a bug in curses, > but I don't suppose it's likely to be changed at this point :-( So, could this be applied? Otherwise e.g. DOS applications ESC actions are very slugguish and thus look bogus in the ncurses UI. Samuel