diff --git a/voipms-sms-tui.py b/voipms-sms-tui.py index 01d5979..02f32b6 100644 --- a/voipms-sms-tui.py +++ b/voipms-sms-tui.py @@ -223,10 +223,17 @@ class ConversationView(urwid.WidgetWrap): self.send_button, ]) self.header = urwid.Text("VoIP.ms SMS TUI", urwid.CENTER) - self.view = urwid.Frame( - urwid.AttrMap(self.chat, "body"), - header=urwid.AttrMap(self.header, "header"), - footer=urwid.AttrMap(self.send, "footer") + self.view = urwid.Pile([ + ('pack', urwid.AttrMap(self.header, "header")), + urwid.AttrMap( + urwid.ScrollBar( + self.chat, + trough_char=urwid.ScrollBar.Symbols.LITE_SHADE + ), + "body" + ), + ('pack', urwid.AttrMap(self.send, "footer")), + ] ) c = self.conversation_selection() w = urwid.Columns(