Skip to content

Commit f4bed59

Browse files
obstschalefreekmurze
authored andcommitted
Remove deleteChar call, cause it's private (#94)
1 parent 31b4494 commit f4bed59

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Terminal.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ public function on(string $eventName, callable $callable)
3434
public function onKeyPress(callable $callable)
3535
{
3636
$this->io->once('data', function ($line) use ($callable) {
37-
$this->getReadline()->deleteChar(0);
3837
$callable(trim($line));
3938
});
4039

0 commit comments

Comments
 (0)