Avoid traceback on Enter in ChatTabs
This commit is contained in:
parent
26b38c8107
commit
a8630190fd
1 changed files with 1 additions and 0 deletions
|
@ -245,6 +245,7 @@ class ChatTab(Tab):
|
||||||
self.input.auto_completion(words, ' ')
|
self.input.auto_completion(words, ' ')
|
||||||
|
|
||||||
def on_enter(self):
|
def on_enter(self):
|
||||||
|
txt = self.input.key_enter()
|
||||||
if not Tab.on_enter(self):
|
if not Tab.on_enter(self):
|
||||||
if txt.startswith('//'):
|
if txt.startswith('//'):
|
||||||
txt = txt[1:]
|
txt = txt[1:]
|
||||||
|
|
Loading…
Reference in a new issue