Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: GlasgowEmbedded/glasgow
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ed517d68fd2a
Choose a base ref
...
head repository: GlasgowEmbedded/glasgow
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b6c88afc4417
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Sep 23, 2019

  1. cli: make output legible on black-on-white terminals too

    If you happen to use a black-on-white terminal, the regular output
    was white on white -> invisible. So do not enforce white, just
    keep the colors as they are by default. This should produce legible
    output on white-on-black and black-on-white.
    electroniceel authored and whitequark committed Sep 23, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    bagder Daniel Stenberg
    Copy the full SHA
    b6c88af View commit details
Showing with 2 additions and 2 deletions.
  1. +2 −2 software/glasgow/cli.py
4 changes: 2 additions & 2 deletions software/glasgow/cli.py
Original file line number Diff line number Diff line change
@@ -346,9 +346,9 @@ def _applet(revision, args):

class TerminalFormatter(logging.Formatter):
LOG_COLORS = {
"TRACE" : "\033[37m",
"TRACE" : "\033[0m",
"DEBUG" : "\033[36m",
"INFO" : "\033[1;37m",
"INFO" : "\033[1m",
"WARNING" : "\033[1;33m",
"ERROR" : "\033[1;31m",
"CRITICAL": "\033[1;41m",