From patchwork Tue Jul 12 07:03:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Mendoza-Jonas X-Patchwork-Id: 647197 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rpXxy4NP6z9s3v for ; Tue, 12 Jul 2016 17:04:06 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=mendozajonas.com header.i=@mendozajonas.com header.b=klpmuQiG; dkim-atps=neutral Received: from ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3rpXxy3Z7FzDqF6 for ; Tue, 12 Jul 2016 17:04:06 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=mendozajonas.com header.i=@mendozajonas.com header.b=klpmuQiG; dkim-atps=neutral X-Original-To: petitboot@lists.ozlabs.org Delivered-To: petitboot@lists.ozlabs.org Received: from mendozajonas.com (mendozajonas.com [188.166.185.233]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3rpXxn4BhxzDqDp for ; Tue, 12 Jul 2016 17:03:57 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=mendozajonas.com header.i=@mendozajonas.com header.b=klpmuQiG; dkim-atps=neutral Received: from skellige.ozlabs.ibm.com (unknown [122.99.82.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: sam@mendozajonas.com) by mendozajonas.com (Postfix) with ESMTPSA id 370FF140055; Tue, 12 Jul 2016 15:03:50 +0800 (SGT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mendozajonas.com; s=mail; t=1468307032; bh=Z9FHb4mHu1ptU1stvJC6HrK5VvpVMCWDOtUIobqDGVw=; h=From:To:Cc:Subject:Date:From; b=klpmuQiGPWTkPcbTHU2d5jPIFMQFgbE6xGlAB52o0Z/oOcV+zzlAyUQ5Isd5M4TAU k+nicQXFxBL1nI3Amuo0qLtw/qKkAw3y6eETK9AjA/Q1ptryiy9TVsR/qbm11wO8Qs d2/Z/z0mv03vKOKJGQbI3+lZKL1DdiSdRin/dk3o= From: Samuel Mendoza-Jonas To: petitboot@lists.ozlabs.org Subject: [PATCH 1/2] ui/ncurses: define KEY_DC (delete key) Date: Tue, 12 Jul 2016 17:03:38 +1000 Message-Id: <20160712070339.3524-1-sam@mendozajonas.com> X-Mailer: git-send-email 2.9.0 X-BeenThere: petitboot@lists.ozlabs.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Petitboot bootloader development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Samuel Mendoza-Jonas MIME-Version: 1.0 Errors-To: petitboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Petitboot" Signed-off-by: Samuel Mendoza-Jonas --- ui/ncurses/nc-cui.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/ncurses/nc-cui.c b/ui/ncurses/nc-cui.c index bd727a5..0c355cc 100644 --- a/ui/ncurses/nc-cui.c +++ b/ui/ncurses/nc-cui.c @@ -83,6 +83,7 @@ static void cui_start(void) define_key("OF", KEY_END); define_key("\x1b\x5b\x41", KEY_UP); define_key("\x1b\x5b\x42", KEY_DOWN); + define_key("\x1b\x5b\x33\x7e", KEY_DC); while (getch() != ERR) /* flush stdin */ (void)0;