change cancel_commandline function to use color from variable

This allows the user to define how they want the "^C" rendered when a
pending command line is interrupted.
This commit is contained in:
Francisco Giordano
2017-04-11 00:28:26 -03:00
committed by Kurtis Rader
parent a9db99ac52
commit 349eff0df7
3 changed files with 8 additions and 9 deletions

View File

@@ -918,6 +918,8 @@ The following variables are available to change the highlighting colors in fish:
- `fish_color_host`, the color used to print the current host system in some of fish default prompts
- `fish_color_cancel`, the color for the '^C' indicator on a canceled command
Additionally, the following variables are available to change the highlighting in the completion pager:
- `fish_pager_color_prefix`, the color of the prefix string, i.e. the string that is to be completed