Skip to content

Commit

Permalink
Merge pull request #8 from joelnordell/jdn-bash_escape_codes
Browse files Browse the repository at this point in the history
Fix escape codes for bash
  • Loading branch information
mrkline committed Mar 16, 2015
2 parents ca944a6 + d74af47 commit 1bd21e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion color.d
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ string zshEscape(string code)

string bashEscape(string code)
{
return `\[` ~ code ~ `\]`;
return "\001" ~ code ~ "\002";
}

0 comments on commit 1bd21e8

Please sign in to comment.