Skip to content

Commit

Permalink
Fix code styling
Browse files Browse the repository at this point in the history
joetannenbaum authored and github-actions[bot] committed Sep 25, 2023
1 parent 3504cf5 commit 6859163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TextareaPrompt.php
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ public function __construct(
'key',
function ($key) {
if ($key === Key::ENTER) {
$this->typedValue = mb_substr($this->typedValue, 0, $this->cursorPosition) . $key . mb_substr($this->typedValue, $this->cursorPosition);
$this->typedValue = mb_substr($this->typedValue, 0, $this->cursorPosition).$key.mb_substr($this->typedValue, $this->cursorPosition);
$this->cursorPosition++;
}

0 comments on commit 6859163

Please sign in to comment.