ProjectFlask/AnsiTools.py

branch
eric7
changeset 75
7a30d96ea9f6
parent 70
22e1d0f69668
child 82
bb14c648099b
equal deleted inserted replaced
74:5dacf5caf3a3 75:7a30d96ea9f6
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 PyQt6.QtGui import QColor, QBrush 10 from PyQt6.QtGui import QBrush, QColor
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)),

eric ide

mercurial