Finish up the URL hints kitten

This commit is contained in:
Kovid Goyal
2018-02-14 12:34:01 +05:30
parent 62174fdbcc
commit 57cf789c75
2 changed files with 42 additions and 17 deletions

View File

@@ -56,6 +56,10 @@ def set_line_wrapping(yes_or_no):
return (set_mode if yes_or_no else reset_mode)('DECAWM')
def set_cursor_visible(yes_or_no):
return (set_mode if yes_or_no else reset_mode)('DECTCEM')
STANDARD_COLORS = {name: i for i, name in enumerate(
'black red green yellow blue magenta cyan gray'.split())}
UNDERLINE_STYLES = {name: i + 1 for i, name in enumerate(