mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-12-01 05:20:58 +08:00
Tools/HIL: fix terminal colors (ANSI escape codes)
This commit is contained in:
1 parent
f80f0e6c7e
commit
5a046cae7e
4 files changed
+8
-8
No files matched your search
@@ -7,9 +7,9 @@ from argparse import ArgumentParser
|
||||
import re
|
||||
import sys
|
||||
|
||||
COLOR_YELLOW = "\x1b[31m"
|
||||
COLOR_RED = "\x1b[31m"
|
||||
COLOR_GREEN = "\x1b[32m"
|
||||
COLOR_RED = "\x1b[33m"
|
||||
COLOR_YELLOW = "\x1b[33m"
|
||||
COLOR_WHITE = "\x1b[37m"
|
||||
COLOR_RESET = "\x1b[0m"
|
||||
|
||||
|
||||
@@ -7,9 +7,9 @@ from argparse import ArgumentParser
|
||||
import re
|
||||
import sys
|
||||
|
||||
COLOR_YELLOW = "\x1b[31m"
|
||||
COLOR_RED = "\x1b[31m"
|
||||
COLOR_GREEN = "\x1b[32m"
|
||||
COLOR_RED = "\x1b[33m"
|
||||
COLOR_YELLOW = "\x1b[33m"
|
||||
COLOR_WHITE = "\x1b[37m"
|
||||
COLOR_RESET = "\x1b[0m"
|
||||
|
||||
|
||||
@@ -7,9 +7,9 @@ from argparse import ArgumentParser
|
||||
import re
|
||||
import sys
|
||||
|
||||
COLOR_YELLOW = "\x1b[31m"
|
||||
COLOR_RED = "\x1b[31m"
|
||||
COLOR_GREEN = "\x1b[32m"
|
||||
COLOR_RED = "\x1b[33m"
|
||||
COLOR_YELLOW = "\x1b[33m"
|
||||
COLOR_WHITE = "\x1b[37m"
|
||||
COLOR_RESET = "\x1b[0m"
|
||||
|
||||
|
||||
@@ -9,9 +9,9 @@ import unittest
|
||||
import os
|
||||
import sys
|
||||
|
||||
COLOR_YELLOW = "\x1b[31m"
|
||||
COLOR_RED = "\x1b[31m"
|
||||
COLOR_GREEN = "\x1b[32m"
|
||||
COLOR_RED = "\x1b[33m"
|
||||
COLOR_YELLOW = "\x1b[33m"
|
||||
COLOR_WHITE = "\x1b[37m"
|
||||
COLOR_RESET = "\x1b[0m"
|
||||
|
||||
|
||||
Reference in new issue
Block a user