Skip to content

Commit

Permalink
Tweak present-tense-message for symbol set awareness
Browse files Browse the repository at this point in the history
  • Loading branch information
japhb committed Sep 23, 2023
1 parent 0d3422e commit baa8dae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/MUGS/App/CLI.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ class MUGS::App::CLI is MUGS::App::LocalUI {
}

method present-tense-message(Str:D $text) {
$text ~ ($.screen-reader ?? '.' !! ' ...')
my constant CP1252 = Terminal::Capabilities::SymbolSet::CP1252;
$text ~ ($.screen-reader ?? '.' !!
$!caps.symbol-set >= CP1252 ?? '' !! ' ...')
}

method put-status-update(Str:D $text) {
Expand Down

0 comments on commit baa8dae

Please sign in to comment.