summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/core.py6
-rw-r--r--src/tabs/basetabs.py5
2 files changed, 4 insertions, 7 deletions
diff --git a/src/core/core.py b/src/core/core.py
index 75a3d7f5..6821df92 100644
--- a/src/core/core.py
+++ b/src/core/core.py
@@ -1599,9 +1599,9 @@ class Core(object):
Called when we want to resize the screen
"""
# If we have the tabs list on the left, we just give a truncated
- # window to each Tab class, so the draw themself in the portion
- # of the screen that the can occupy, and we draw the tab list
- # on the left remaining space
+ # window to each Tab class, so they draw themself in the portion of
+ # the screen that they can occupy, and we draw the tab list on the
+ # remaining space, on the left
with g_lock:
height, width = self.stdscr.getmaxyx()
if (config.get('enable_vertical_tab_list', False) and
diff --git a/src/tabs/basetabs.py b/src/tabs/basetabs.py
index 95e47e4e..5be8a9d1 100644
--- a/src/tabs/basetabs.py
+++ b/src/tabs/basetabs.py
@@ -447,12 +447,9 @@ class ChatTab(Tab):
self.text_win = None
self._text_buffer = TextBuffer()
self.chatstate = None # can be "active", "composing", "paused", "gone", "inactive"
- # We keep a weakref of the event that will set our chatstate to "paused", so that
+ # We keep a reference of the event that will set our chatstate to "paused", so that
# we can delete it or change it if we need to
self.timed_event_paused = None
- # if that’s None, then no paused chatstate was sent recently
- # if that’s a weakref returning None, then a paused chatstate was sent
- # since the last input
# Keeps the last sent message to complete it easily in completion_correct, and to replace it.
self.last_sent_message = None
self.key_func['M-v'] = self.move_separator