equal
deleted
inserted
replaced
111 'tags.normal': 'green', |
111 'tags.normal': 'green', |
112 'tags.local': 'black bold'} |
112 'tags.local': 'black bold'} |
113 |
113 |
114 def loadcolortable(ui, extname, colortable): |
114 def loadcolortable(ui, extname, colortable): |
115 _styles.update(colortable) |
115 _styles.update(colortable) |
|
116 |
|
117 def valideffect(effect): |
|
118 'Determine if the effect is valid or not.' |
|
119 good = False |
|
120 if not _terminfo_params and effect in _effects: |
|
121 good = True |
|
122 elif (effect in _terminfo_params |
|
123 or effect[:-11] in _terminfo_params): |
|
124 good = True |
|
125 return good |