5 |
5 |
6 """ |
6 """ |
7 Module implementing functions to work with ANSI escape sequences for colors. |
7 Module implementing functions to work with ANSI escape sequences for colors. |
8 """ |
8 """ |
9 |
9 |
10 from PyQt5.QtGui import QColor, QBrush |
10 from PyQt6.QtGui import QColor, QBrush |
11 |
11 |
12 # ANSI Colors (see https://en.wikipedia.org/wiki/ANSI_escape_code) |
12 # ANSI Colors (see https://en.wikipedia.org/wiki/ANSI_escape_code) |
13 _AnsiColorSchemes = { |
13 _AnsiColorSchemes = { |
14 "Windows 7": { |
14 "Windows 7": { |
15 0: QBrush(QColor(0, 0, 0)), |
15 0: QBrush(QColor(0, 0, 0)), |