We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33ac5c0 commit 83b867dCopy full SHA for 83b867d
src/Input/InputIO.php
@@ -40,6 +40,8 @@ public function collect(Input $input) : InputResult
40
41
$inputValue = $input->getPlaceholderText();
42
$havePlaceHolderValue = !empty($inputValue);
43
+
44
+ $originalValue = $inputValue;
45
46
$reader = new NonCanonicalReader($this->terminal);
47
@@ -59,6 +61,9 @@ public function collect(Input $input) : InputResult
59
61
60
62
if ($char->isHandledControl()) {
63
switch ($char->getControl()) {
64
+ case InputCharacter::ESC:
65
+ $this->parentMenu->redraw();
66
+ return new InputResult($originalValue);
67
case InputCharacter::ENTER:
68
if ($input->validate($inputValue)) {
69
$this->parentMenu->redraw();
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments