Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
One more tiny fix to get bootstrap working again
  • Loading branch information
sorear committed Nov 1, 2011
1 parent 7f133f9 commit 60f5921
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/NieczaFrontendSTD.pm6
Expand Up @@ -190,12 +190,13 @@ method lookup_dynvar($) { Any } # NYI
method check_old_cclass($) { } # NYI
}

augment class Cursor {
our $RED = "\e[31m";
our $GREEN = "\e[32m";
our $YELLOW = "\e[33m";
our $CLEAR = "\e[0m";

# these stash entries were created in STD so they are considered to belong
# to STD, so we have to use an INIT to change them
INIT {
$Cursor::RED = "\e[31m";
$Cursor::GREEN = "\e[32m";
$Cursor::YELLOW = "\e[33m";
$Cursor::CLEAR = "\e[0m";
}

has $.lang;
Expand Down

0 comments on commit 60f5921

Please sign in to comment.