We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 392b4c3 commit 0186418Copy full SHA for 0186418
CHANGELOG.md
@@ -4,6 +4,9 @@
4
### Added
5
- the repl prints the output of the last expression it ran
6
7
+### Fixed
8
+- the REPL doesn't color `import` in two colors (red for `imp__t` and blue for `___or_`), it keeps the first color that matched (red for import here)
9
+
10
### Changed
11
12
### Removed
src/arkscript/REPL/Utils.cpp
@@ -149,7 +149,10 @@ namespace Ark::internal
149
150
pos += codepointLength(prefix);
151
for (std::size_t i = 0; i < len; ++i)
152
- colors.at(pos + i) = color;
+ {
153
+ if (colors.at(pos + i) == replxx::Replxx::Color::DEFAULT)
154
+ colors.at(pos + i) = color;
155
+ }
156
157
pos += len;
158
str = match.suffix();
0 commit comments