Received: from eggs.gnu.org ([2001:4830:134:3::10]:58302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoN8R-0003nG-Lg for qemu-devel@nongnu.org; Sat, 24 May 2014 21:22:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WoN8M-0007bY-CF for qemu-devel@nongnu.org; Sat, 24 May 2014 21:21:59 -0400 Date: Sat, 24 May 2014 21:21:51 -0400 From: Dave Mielke Message-ID: <20140525012151.GI1904@beta.private.mielke.cc> References: <20140524232950.GH1904@beta.private.mielke.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] patch: add delay= suboption to -display curses List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Trivial , QEMU Developers [quoted lines by Peter Maydell on 2014/05/25 at 01:04 +0100] >Why is this a problem only for the curses UI frontend, and not for >any of the other UIs which might send key events? One reason is that most UIs send key events as they receive them from the keyboard, one at a time, whereas the curses UI gets a single key event from curses and then sends all of the scancodes which it takes to represent that key. In other words, a single key event from curses could result in as many as 10 actual key events needing to be passed along - both the press and release for the actual key plus up to four modifiers (shift, control, alt, altgr). Another reason is that it's not a problem for a lot of applications. I happened to hit it in an application, and, therefore, coded a fix for it. -- Dave Mielke | 2213 Fox Crescent | The Bible is the very Word of God. Phone: 1-613-726-0014 | Ottawa, Ontario | http://Mielke.cc/bible/ EMail: dave@mielke.cc | Canada K2A 1H7 | http://FamilyRadio.com/