Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
don't warn if ANSICON not installed on Windows. Document ANSICON util…
…s for Windows in colors.feature issue #2020 don't need to test if ANSICON installed on windows (that's up to the user; ok if it isn't) document Windows utils available for showing color (ex: ANSICON and other solutions) moved 'Windows may need solutions to show ANSI codes' into its own feature file. Massaged text to it can stand alone. added new 'color.feature' file into .nav file after 'read_options_from_file.feature' (in configuration section) replaced color= method with attr_writer :color; fixed typo in color.feature. Added link to wikipedia definition for ANSI escape code in color.feature
- Loading branch information
1 parent
b2b5af2
commit c72d232
Showing
4 changed files
with
25 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Feature: Windows may require additional solutions to display color | ||
|
||
The output uses [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) to show text in color. Windows | ||
systems (shells) often don't interpret those codes at all. | ||
|
||
If you're on Windows and you see ANSI escape codes in the output | ||
(something like `[1m [31m` ) and your text isn't in different colors, | ||
you may need to install a utility so that your Windows shell will | ||
interpret those codes correctly and show the colors. Here are some | ||
popular solutions: | ||
|
||
* [ANSICON](https://github.com/adoxa/ansicon): ANSICON runs 'on top of' cmd or powershell. This is a very | ||
popular solution. You can set it up so that it's always used whenever | ||
you use cmd or powershell, or use it only at specific times. | ||
|
||
* Alternatives to cmd.exe or powershell: [ConEmu](http://conemu.github.io/), [Console2](http://sourceforge.net/projects/console/), | ||
[ConsoleZ](https://github.com/cbucher/console) | ||
|
||
* Unix-like shells and utilities: [cygwin](https://www.cygwin.com/), [babun](http://babun.github.io/index.html), | ||
[MinGW](http://www.mingw.org/) (Minimalist GNU for Windows) | ||
|
||
To find out more, search for information about those solutions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters