From patchwork Tue Dec 18 04:19:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Mendoza-Jonas X-Patchwork-Id: 1014979 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43JlG51gncz9sBZ for ; Tue, 18 Dec 2018 15:21:33 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=mendozajonas.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=mendozajonas.com header.i=@mendozajonas.com header.b="ow0IKf+4"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="fLxMouTp"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 43JlG5036pzDqYh for ; Tue, 18 Dec 2018 15:21:33 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=mendozajonas.com Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=mendozajonas.com header.i=@mendozajonas.com header.b="ow0IKf+4"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="fLxMouTp"; dkim-atps=neutral X-Original-To: petitboot@lists.ozlabs.org Delivered-To: petitboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=mendozajonas.com (client-ip=66.111.4.25; helo=out1-smtp.messagingengine.com; envelope-from=sam@mendozajonas.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=mendozajonas.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=mendozajonas.com header.i=@mendozajonas.com header.b="ow0IKf+4"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="fLxMouTp"; dkim-atps=neutral Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 43JlDb29NHzDqWm for ; Tue, 18 Dec 2018 15:20:15 +1100 (AEDT) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 09E6F22AD6; Mon, 17 Dec 2018 23:20:13 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 17 Dec 2018 23:20:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= mendozajonas.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; s=fm1; bh=oXustAMm02xFiXG7g1jcapa92yQzRr3GKTIhqbwd3hs=; b=ow0IK f+4i1iEtgo3EnPyDI8tAP1YulAn7QgUFYQmziCcnWmtNyk71DjuvZCMt9PgNQsd+ WtGx75chMFRoF8Nce3Pi52AxGBiGxUed2jJ8I1c2pN6u/d1WY8ee+lYCpinr8egA 0/OHCDbyqFkY6wKvvXsflIzSHcfRkNk0GIulipbWsmU33YQ8/rtY1rbAj8mr7rvp LJUfZek+5KngUWJuPMh0Pc8PJ8rUxql5+B8LIfn91lTUvY8qs0LwFT5OsA0Xpgcf AXqQF4XXv7rsUxlE25CGkGGSPfekBCp66dPSzKskYD7kkH+KhdnRewbq/vcprQNC Y8jvCs3EEJB1BtnAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=oXustAMm02xFiXG7g1jcapa92yQzRr3GKTIhqbwd3hs=; b=fLxMouTp R335MVMjzHyyDMAkqQs5PNAvvBi63T5Rw6VgtMRMYOs69zxnjDmJ6jobmxqkk3Pr IT7t6BPUoT0KCwOQ7mXUolFXP4OlxIARYnyE4B2nNKy75zOszW5/OsU2wceXpOKu geMxv1eal4cTz/oajGJOX9nMkcjS4ZXp2jE/jpudvjLr0AEY2Aeq57RJV/zPUwTy kYn/OHTRWXShmJd0+ruM4cKfbKhZM4mxSoDqmUV/avw9B5i6LQFw79p4J85fF/sO hOK9RtA1F26HMnodQ6AaYLtUNawwbZAhkYBHGze1lIgAcy6zqtn45Ed/7L2L2QWI GpOPToPzncmlDg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtkedrudeigedgjeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpe furghmuhgvlhcuofgvnhguohiirgdqlfhonhgrshcuoehsrghmsehmvghnughoiigrjhho nhgrshdrtghomheqnecukfhppeduvddvrdelledrkedvrddutdenucfrrghrrghmpehmrg hilhhfrhhomhepshgrmhesmhgvnhguohiirghjohhnrghsrdgtohhmnecuvehluhhsthgv rhfuihiivgepge X-ME-Proxy: Received: from v4.ozlabs.ibm.com (unknown [122.99.82.10]) by mail.messagingengine.com (Postfix) with ESMTPA id 98DDA10084; Mon, 17 Dec 2018 23:20:11 -0500 (EST) From: Samuel Mendoza-Jonas To: petitboot@lists.ozlabs.org Subject: [RFC PATCH 6/8] ui/ncurses: Don't post screen after command Date: Tue, 18 Dec 2018 15:19:51 +1100 Message-Id: <20181218041953.8960-7-sam@mendozajonas.com> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181218041953.8960-1-sam@mendozajonas.com> References: <20181218041953.8960-1-sam@mendozajonas.com> MIME-Version: 1.0 X-BeenThere: petitboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Petitboot bootloader development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Samuel Mendoza-Jonas Errors-To: petitboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Petitboot" Leave the post command to the calling screen so widgets can be properly reinitialised if needed. Signed-off-by: Samuel Mendoza-Jonas --- ui/ncurses/nc-cui.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/ncurses/nc-cui.c b/ui/ncurses/nc-cui.c index d80e2c3e..9fe4ba5c 100644 --- a/ui/ncurses/nc-cui.c +++ b/ui/ncurses/nc-cui.c @@ -262,7 +262,6 @@ int cui_run_cmd(struct cui *cui, const char **cmd_argv) refresh(); redrawwin(cui->current->main_ncw); - nc_scr_post(cui->current); if (result) { pb_log_fn("failed: '%s'\n", cmd_argv[0]);