From d2431783f1a7ebba4da1cb1f2a3986f0a6893083 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 23 Jan 2019 10:14:59 +0530 Subject: [PATCH] Fix using remote control to set cursor text color causing errors when creating new windows Fixes #1326 --- docs/changelog.rst | 3 +++ kitty/boss.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 5f9000459..da67d8e56 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -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] ------------------------------ diff --git a/kitty/boss.py b/kitty/boss.py index fb102f8f3..1dd236aac 100644 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -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)