Skip to content
Browse files

One more tiny fix to get bootstrap working again

  • Loading branch information...
1 parent 7f133f9 commit 60f59214fc1eecada6d6cd0b8e490e1a5ce598b1 @sorear committed Oct 31, 2011
Showing with 7 additions and 6 deletions.
  1. +7 −6 src/NieczaFrontendSTD.pm6
View
13 src/NieczaFrontendSTD.pm6
@@ -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;

0 comments on commit 60f5921

Please sign in to comment.
Something went wrong with that request. Please try again.