Skip to content

Commit 23c02f2

Browse files
committed
src/sage/libs/gap/sage.gaprc: disable color prompt
This is currently done in gap_reset_workspace(), but I think it's less surprising to find the GAP initialization in the GAP initialization file. Here we add it to sage.gaprc so that it can later be removed from gap_reset_workspace().
1 parent e249bef commit 23c02f2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sage/libs/gap/sage.gaprc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# contain bug fixes/workarounds and/or any Sage-specific patches necessary for
33
# Sage's libgap interface.
44

5+
# Disable color in the prompt, it interferes with parsing.
6+
ColorPrompt(false);
57

68
# Load the GAP packages that GAP itself tries to autoload in the
79
# default configuration (see "PackagesToLoad" in lib/package.gi). The

0 commit comments

Comments
 (0)