Skip to content

Commit

Permalink
use sad cmd.exe compatible equivalents for fun unicode status characters
Browse files Browse the repository at this point in the history
vanilla windows terminal (cmd.exe) does not have robust unicode support
beyond the old ibm codepage 437.

the console team is aware and working on it..

- microsoft/WSL#75
- microsoft/terminal#104
- microsoft/terminal#190
- microsoft/terminal#226
- microsoft/terminal#306
  • Loading branch information
ellemenno committed Jan 27, 2019
1 parent 11fc9da commit c3d09c8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ def exec_with_echo(cmd)
end

def fail(message)
abort("✘ #{message}")
# win-safe: desired:
# √ - \u221A ✓ - \u2713
# × - \u00D7 ✘ - \u2718
abort(#{message}")
end

def try(cmd, failure_message)
Expand Down

0 comments on commit c3d09c8

Please sign in to comment.