php-school / cli-menu

🖥 Build beautiful PHP CLI menus. Simple yet Powerful. Expressive DSL.
http://www.phpschool.io
MIT License
1.94k stars 107 forks source link

Handle special chars with custom control mappings #283

Closed bit-willi closed 3 weeks ago

bit-willi commented 3 weeks ago

Allow usage of special chars with custom control mappings

Closes #282

AydinHassan commented 3 weeks ago

thanks @bit-willi - can you add a test for it? You can just copy testAddCustomControlMapping and also copy the asset file testAddCustomControlMapping.txt - you would just have to change the mapping and terminal mock.

AydinHassan commented 3 weeks ago

thank you @bit-willi :)

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.47%. Comparing base (835c28e) to head (5a6cec9). Report is 3 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #283 +/- ## ========================================= Coverage 93.46% 93.47% - Complexity 656 658 +2 ========================================= Files 38 38 Lines 2021 2024 +3 ========================================= + Hits 1889 1892 +3 Misses 132 132 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.