Skip to content

Commit 0dae3f2

Browse files
authored
Merge pull request #141 from Lynesth/patch-23
Allow markers longer than 1 character
2 parents f19fa87 + 35e51e2 commit 0dae3f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/MenuStyle.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ public function getSelectedMarker() : string
533533

534534
public function setSelectedMarker(string $marker) : self
535535
{
536-
$this->selectedMarker = mb_substr($marker, 0, 1);
536+
$this->selectedMarker = $marker;
537537

538538
return $this;
539539
}
@@ -545,7 +545,7 @@ public function getUnselectedMarker() : string
545545

546546
public function setUnselectedMarker(string $marker) : self
547547
{
548-
$this->unselectedMarker = mb_substr($marker, 0, 1);
548+
$this->unselectedMarker = $marker;
549549

550550
return $this;
551551
}

0 commit comments

Comments
 (0)