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