Skip to content

Commit 5ad4243

Browse files
committed
ups
1 parent 2603af1 commit 5ad4243

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

src/ExplorerPrompt.php

+2-4
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,8 @@ public function __construct(
3737
$this->handleFilterKey($key);
3838
} else {
3939
match ($key) {
40-
Key::UP, Key::UP_ARROW, Key::LEFT, Key::LEFT_ARROW, Key::SHIFT_TAB, Key::CTRL_P, Key::CTRL_B, 'k', 'h' => $this->keyUp(
41-
),
42-
Key::DOWN, Key::DOWN_ARROW, Key::RIGHT, Key::RIGHT_ARROW, Key::TAB, Key::CTRL_N, Key::CTRL_F, 'j', 'l' => $this->keyDown(
43-
),
40+
Key::UP, Key::UP_ARROW, Key::LEFT, Key::LEFT_ARROW, Key::SHIFT_TAB, Key::CTRL_P, Key::CTRL_B, 'k', 'h' => $this->keyUp(),
41+
Key::DOWN, Key::DOWN_ARROW, Key::RIGHT, Key::RIGHT_ARROW, Key::TAB, Key::CTRL_N, Key::CTRL_F, 'j', 'l' => $this->keyDown(),
4442
Key::oneOf([Key::HOME, Key::CTRL_A], $key) => $this->keyHome(),
4543
Key::oneOf([Key::END, Key::CTRL_E], $key) => $this->keyEnd(),
4644
Key::KEY_PAGE_UP => $this->keyPageUp(),

src/Themes/Default/ExplorerPromptRenderer.php

-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ class ExplorerPromptRenderer extends Renderer
1818
public function __invoke(ExplorerPrompt $prompt): string
1919
{
2020
if ($this->prompt->state !== 'submit') {
21-
22-
dump($this->prompt->state);
23-
2421
$filteredCount = count($this->prompt->filteredItems());
2522
if ($filteredCount < $this->prompt->highlighted) {
2623
$this->prompt->setSelection(0);

0 commit comments

Comments
 (0)