Fix using remote control to set cursor text color causing errors when creating new windows

Fixes #1326
This commit is contained in:
Kovid Goyal 2019-01-23 10:14:59 +05:30
parent 5787b472c0
commit d2431783f1
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 4 additions and 1 deletions

View File

@ -11,6 +11,9 @@ Changelog
- macOS: Fix :kbd:`cmd+period` key not working (:iss:`1318`)
- Fix using remote control to set cursor text color causing errors when
creating new windows (:iss:`1326`)
0.13.3 [2019-01-19]
------------------------------

View File

@ -960,7 +960,7 @@ class Boss:
if hasattr(self.opts, k):
setattr(self.opts, k, color_from_int(v))
if cursor_text_color is not False:
self.opts.cursor_text_color = cursor_text_color
self.opts.cursor_text_color = color_from_int(cursor_text_color)
for tm in self.all_tab_managers:
tm.tab_bar.patch_colors(spec)
patch_global_colors(spec, configured)