From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.120; helo=mga04.intel.com; envelope-from=ruiyu.ni@intel.com; receiver=edk2-devel@lists.01.org Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id DB7CD20355214 for ; Tue, 7 Nov 2017 23:51:32 -0800 (PST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Nov 2017 23:55:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,363,1505804400"; d="scan'208";a="147317863" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga004.jf.intel.com with ESMTP; 07 Nov 2017 23:55:32 -0800 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 7 Nov 2017 23:55:31 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 7 Nov 2017 23:55:31 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.152]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.159]) with mapi id 14.03.0319.002; Wed, 8 Nov 2017 15:55:29 +0800 From: "Ni, Ruiyu" To: "Zeng, Star" , Heyi Guo , "edk2-devel@lists.01.org" CC: "Dong, Eric" Thread-Topic: [MdeModulePkg/TerminalDxe] Why do we delay 2s for ESC being pressed? Thread-Index: AQHTWGKv3oEYUhJRGkumgc3ZBU9EUKMKGuMQ Date: Wed, 8 Nov 2017 07:55:28 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D5BAB6CB0@SHSMSX104.ccr.corp.intel.com> References: <1958e840-f0fe-6d8e-44d1-03ff9c9dde7b@linaro.org> <0C09AFA07DD0434D9E2A0C6AEB0483103B9B3162@shsmsx102.ccr.corp.intel.com> In-Reply-To: <0C09AFA07DD0434D9E2A0C6AEB0483103B9B3162@shsmsx102.ccr.corp.intel.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [MdeModulePkg/TerminalDxe] Why do we delay 2s for ESC being pressed? X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2017 07:51:33 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGV5aSwNCg0KSWYgeW91IGNoZWNrIHRoZSBjb21tZW50cyBiZWxvdyBpbiBUZXJtaW5hbENvbklu LmM6DQpodHRwczovL2dpdGh1Yi5jb20vdGlhbm9jb3JlL2VkazIvYmxvYi9tYXN0ZXIvTWRlTW9k dWxlUGtnL1VuaXZlcnNhbC9Db25zb2xlL1Rlcm1pbmFsRHhlL1Rlcm1pbmFsQ29uSW4uYyNMMTMx OQ0KDQpUZXJtaW5hbER4ZSBkcml2ZXIgbmVlZHMgdG8gZGV0ZXJtaW5lIHdoZXRoZXIgdXNlciB3 YW50cyB0byBwcmVzcyBFU0MgYWxvbmUsDQpvciBwcmVzcyAiRVNDIFsgViIgZm9yIEYxMCAoUENB TlNJIHRlcm1pbmFsKS4NCg0KU28gYSAyIHNlY29uZCB0aW1lb3V0IGlzIGFkZGVkIHRvIHdhaXQg YWRkaXRpb25hbCBrZXlzLg0KDQpUaGFua3MvUmF5DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdl LS0tLS0NCj4gRnJvbTogWmVuZywgU3Rhcg0KPiBTZW50Oi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