summaryrefslogtreecommitdiff
path: root/chat.py
diff options
context:
space:
mode:
Diffstat (limited to 'chat.py')
-rw-r--r--chat.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/chat.py b/chat.py
index 8d7713c..be36aec 100644
--- a/chat.py
+++ b/chat.py
@@ -3,7 +3,7 @@ import urwid.curses_display
import sys,time
from omegle import OmegleChat
-class Conversation(object):
+class ConversationWindow(object):
def __init__(self):
self.edit = urwid.Edit(caption="Send: ",edit_text="Hi!",multiline=True)
self.editbox = urwid.Filler(self.edit)
@@ -95,9 +95,9 @@ class Omegle(OmegleChat):
def on_wait(self):
self.chatwindow.add_message("Server send Wait")
-class Chat(Conversation):
+class Chat(ConversationWindow):
def __init__(self):
- Conversation.__init__(self)
+ ConversationWindow.__init__(self)
self.omegle = Omegle(self)
def on_toggle_connect(self):
@@ -124,3 +124,8 @@ class Chat(Conversation):
import logging
logging.basicConfig(filename="chat.py.log",level=logging.DEBUG)
Chat().main()
+
+"""
+Unterstuetzt im moment noch nicht das senden des /typing
+partner sieht nicht wenn man tippt
+"""