Fix focus on input box
This commit is contained in:
parent
8eae5abc76
commit
d04d674983
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue