Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clean-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
clean-and-itasks
clean-platform
Commits
3e8125e3
Verified
Commit
3e8125e3
authored
Feb 14, 2018
by
Camil Staps
🚀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix diffToConsole
parent
68d5fba0
Pipeline
#9517
passed with stage
in 3 minutes and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/libraries/OS-Independent/Data/Generics/GenDiff.icl
src/libraries/OS-Independent/Data/Generics/GenDiff.icl
+5
-2
No files found.
src/libraries/OS-Independent/Data/Generics/GenDiff.icl
View file @
3e8125e3
...
...
@@ -39,12 +39,15 @@ where
color
+++
if
p`
"("
""
+++
d
.
value
+++
reset
+++
concat
(
map
((+++)
" "
o
display
True
)
d
.
children
)
+++
color
+++
if
p`
")"
""
+++
"
\033
[0m"
reset
where
color
=
case
d
.
status
of
Common
->
"
\033
[0m"
Common
->
reset
Added
->
"
\033
[0;32m"
Removed
->
"
\033
[0;31m"
reset
=
"
\033
[0m"
p`
=
p
&&
not
(
isEmpty
d
.
children
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment