Skip to content

Commit 21eb3eb

Browse files
committed
Microsoft Windows-inspired fixes
settings.m: a non-ASCII character got in here main.py: remove debug statment
1 parent c6ebd3a commit 21eb3eb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

mathics/autoload/settings.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
Unprotect[Settings`$TraceGet]
88

99

10-
Settings`$PreferredBackendMethod::usage = "Set this do whether to use mpmath, numpy or Sympy for numeric and symbolic constants and methods when there is s choice";
10+
Settings`$PreferredBackendMethod::usage = "Set this do whether to use mpmath, numpy or Sympy for numeric and symbolic constants and methods when there is a choice";
1111
Settings`$PreferredBackendMethod = "sympy"
1212
Unprotect[Settings`$PreferredBackendMethod]
1313

1414
(* Some packages like Feyncalc, test for whether a they are being used
1515
inside a notbook. *)
16-
System`$Notebooks::usage = "Set True if the Mathics is being used with a notebookbased front end.";
16+
System`$Notebooks::usage = "Set True if the Mathics is being used with a notebook-based front end.";
1717
System`$Notebooks = False;
1818
Unprotect[System`Notebooks];

mathics/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ def __init__(self, definitions, colors, want_readline, want_completion):
6464
"NOCOLOR": (["", "", "", ""], ["", "", "", ""]),
6565
"NONE": (["", "", "", ""], ["", "", "", ""]),
6666
"LINUX": (
67-
["\033[32m", "\033[1m", "\033[22m", "\033[39m"],
68-
["\033[31m", "\033[1m", "\033[22m", "\033[39m"],
67+
["\033[32m", "\033[1m", "\033[0m\033[32m", "\033[39m"],
68+
["\033[31m", "\033[1m", "\033[0m\033[32m", "\033[39m"],
6969
),
7070
"LIGHTBG": (
7171
["\033[34m", "\033[1m", "\033[22m", "\033[39m"],

0 commit comments

Comments
 (0)