From 1307a9d06bb1c72825172c2d327ae444edfcc2ba Mon Sep 17 00:00:00 2001 From: Joscha Date: Wed, 12 Jun 2019 08:46:31 +0000 Subject: [PATCH] Change how the cursor looks Now uses <> instead of [] so that distinguishing the cursor and messages is easier. --- cheuph/euphoria/euph_renderer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cheuph/euphoria/euph_renderer.py b/cheuph/euphoria/euph_renderer.py index d5ae79a..e7549d7 100644 --- a/cheuph/euphoria/euph_renderer.py +++ b/cheuph/euphoria/euph_renderer.py @@ -32,8 +32,8 @@ class EuphRenderer(CursorRenderer): surround_right: str = "]", surround_attrs: Attributes = {}, # Cursor settings - cursor_surround_left: str = "[", - cursor_surround_right: str = "]", + cursor_surround_left: str = "<", + cursor_surround_right: str = ">", cursor_surround_attrs: Attributes = {}, cursor_own_nick_attrs: Attributes = {}, cursor_fill: str = " ", @@ -107,7 +107,7 @@ class EuphRenderer(CursorRenderer): left = AT(self._surround_left, attributes=self._surround_attrs) nick = AT(self._filter_unicode(message.nick), - attributes=self._nick_attrs) + attributes=self._nick_attrs) # TODO detect own nick right = AT(self._surround_right, attributes=self._surround_attrs) nick_str = left + nick + right + AT(" ")