Show More
@@ -378,7 +378,10 b' def _effect_str(effect):' | |||
|
378 | 378 | if effect.endswith('_background'): |
|
379 | 379 | bg = True |
|
380 | 380 | effect = effect[:-11] |
|
381 | attr, val, termcode = _terminfo_params[effect] | |
|
381 | try: | |
|
382 | attr, val, termcode = _terminfo_params[effect] | |
|
383 | except KeyError: | |
|
384 | return '' | |
|
382 | 385 | if attr: |
|
383 | 386 | if termcode: |
|
384 | 387 | return termcode |
General Comments 0
You need to be logged in to leave comments.
Login now