From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adNfs-00044V-Fj for qemu-devel@nongnu.org; Tue, 08 Mar 2016 14:52:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adNfp-0000ll-AZ for qemu-devel@nongnu.org; Tue, 08 Mar 2016 14:52:08 -0500 Received: from mail-pa0-x243.google.com ([2607:f8b0:400e:c03::243]:33504) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adNfp-0000le-1k for qemu-devel@nongnu.org; Tue, 08 Mar 2016 14:52:05 -0500 Received: by mail-pa0-x243.google.com with SMTP id q6so1787266pav.0 for ; Tue, 08 Mar 2016 11:52:04 -0800 (PST) From: Ren Kimura Date: Wed, 9 Mar 2016 04:51:20 +0900 Message-Id: <1457466681-7714-1-git-send-email-rkx1209dev@gmail.com> Subject: [Qemu-devel] [PATCH v3 0/1] ui/console: add escape sequence \e[5, 6n List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: kraxel@redhat.com Cc: qemu-devel@nongnu.org I've moved code block to a new function console_put_one. If console_putchar will be called directly from console_respond_str, it cause some problems. For example "\e[0n" should be printed entirely, but on the other hand, almost same escape sequence(i.e. in same switch statement) "\e[5n" should not be printed. It's consfusing and not good. So this way is better I think Thanks, Ren