Implement rendering of selections

This commit is contained in:
Kovid Goyal
2016-11-29 09:45:14 +05:30
parent 05662efdd9
commit f4e3fbcb2e
8 changed files with 99 additions and 16 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ type_map = {
'window_border_width': float,
}
for name in 'foreground background cursor active_border_color inactive_border_color'.split():
for name in 'foreground background cursor active_border_color inactive_border_color selection_foreground selection_background'.split():
type_map[name] = lambda x: to_color(x, validate=True)
for i in range(16):
type_map['color%d' % i] = lambda x: to_color(x, validate=True)