ProjectFlask/AnsiTools.py

branch
eric7
changeset 64
0ee58185b8df
parent 60
02243723ac17
child 66
0d3168d0e310
equal deleted inserted replaced
63:7c05cbc8b3e5 64:0ee58185b8df
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)),

eric ide

mercurial