argotorg / argotorg/solidity

White error output is invisible on white terminals

Open
#15,314 1 comment 0 reactions 0 assignees View on GitHub
feature
Dominant language
C++
Stars
25.7k
Forks
6.2k
Avg merge
1d 11h
Merged PRs (30d)
21

Description

## Abstract

It's common (e.g., on Mac) to have a white terminal background.
solc's errors then disappear
I originally reported this in #14378 and it got mentioned again in #14580 , but AFAIK this is still happening.
Maybe swap the error color for the color you're using for the ^^^^^
Not 100% sure whether the output I'm looking at is generated by forge or solc, but last time around the foundry folks blamed solc.

## Motivation

Using a common background color as a foreground color for error text means the error text is invisible, but other (arguably less important) elements of the output are visible.

Contributor guide

Open the contributing guide

Research direction

Reproduce the invisible error output on a white terminal and compare the output produced by solc with the output shown through forge, since the issue is uncertain about its source. Trace the relevant error-display path once the responsible tool is identified; done means error text remains visible while the caret markers and other output retain their intended distinction.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, solidity
Domain
cli, compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.