Skip to content

Commit

Permalink
Work around a bug giving Set:setraw error
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Aug 12, 2024
1 parent 9b4ad85 commit 39f60dc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mathicsscript/autoload/settings.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
"

Settings`$ShowFullFormInput = False

(* This is a workarund for a bug in mathicsscript of mathics-core.
Remove this and we get error:
Set::setraw: Cannot assign to raw object colorful. *)
Settings`$PygmentsStyle = False

Settings`$PygmentsStyle::usage = "This variable sets the Pygments style used to colorize output. The value should be a string.
The default value changes background depending on whether the terminal has a light or dark background. You can also set the color style used on the command with the ``--style`` option, or look at the variable ```Settings`PygmentsStylesAvailable```. Or it can be set in the settings.m file."
Expand Down

0 comments on commit 39f60dc

Please sign in to comment.