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.43; helo=mga05.intel.com; envelope-from=star.zeng@intel.com; receiver=edk2-devel@lists.01.org Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (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 BAE4620355223 for ; Tue, 7 Nov 2017 23:21:03 -0800 (PST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP; 07 Nov 2017 23:25:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,363,1505804400"; d="scan'208";a="333671754" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga004.fm.intel.com with ESMTP; 07 Nov 2017 23:25:03 -0800 Received: from fmsmsx125.amr.corp.intel.com (10.18.125.40) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 7 Nov 2017 23:25:03 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX125.amr.corp.intel.com (10.18.125.40) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 7 Nov 2017 23:25:03 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.175]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.218]) with mapi id 14.03.0319.002; Wed, 8 Nov 2017 15:25:00 +0800 From: "Zeng, Star" To: Heyi Guo , "edk2-devel@lists.01.org" CC: "Ni, Ruiyu" , "Dong, Eric" , "Zeng, Star" Thread-Topic: [MdeModulePkg/TerminalDxe] Why do we delay 2s for ESC being pressed? Thread-Index: AQHTWF/Ict5wYE5yY0Ss4idHvWN1LKMKFBLw Date: Wed, 8 Nov 2017 07:24:59 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103B9B3162@shsmsx102.ccr.corp.intel.com> References: <1958e840-f0fe-6d8e-44d1-03ff9c9dde7b@linaro.org> In-Reply-To: <1958e840-f0fe-6d8e-44d1-03ff9c9dde7b@linaro.org> Accept-Language: zh-CN, en-US 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:21:03 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Q2MgVGVybWluYWwgZXhwZXJ0IFJheSB0byBzZWUgaWYgYW55IGNvbW1lbnRzIG9uIHRoaXMuDQoN Cg0KVGhhbmtzLA0KU3Rhcg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IEhleWkg R3VvIFttYWlsdG86aGV5aS5ndW9AbGluYXJvLm9yZ10gDQpTZW50OiBXZWRuZXNkYXksIE5vdmVt YmVyIDgsIDIwMTcgMzowNCBQTQ0KVG86IGVkazItZGV2ZWxAbGlzdHMuMDEub3JnDQpDYzogWmVu ZywgU3RhciA8c3Rhci56ZW5nQGludGVsLmNvbT47IERvbmcsIEVyaWMgPGVyaWMuZG9uZ0BpbnRl bC5jb20+DQpTdWJqZWN0OiBbTWRlTW9kdWxlUGtnL1Rlcm1pbmFsRHhlXSBXaHkgZG8gd2UgZGVs YXkgMnMgZm9yIEVTQyBiZWluZyBwcmVzc2VkPw0KDQpIaSBmb2xrcywNCg0KV2UgZm91bmQgRVND IGtleSByZXNwb25kZWQgZmFpcmx5IHNsb3cgb24gc2VyaWFsIHBvcnQgdGVybWluYWwsIGFuZCB3 ZSB0aGluayBpdCBtaWdodCBiZSBjYXVzZWQgYnkgdGhlIGNvZGUgaW4gVW5pY29kZV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