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.send_button,
|
||||||
])
|
])
|
||||||
self.header = urwid.Text("VoIP.ms SMS TUI", urwid.CENTER)
|
self.header = urwid.Text("VoIP.ms SMS TUI", urwid.CENTER)
|
||||||
self.view = urwid.Frame(
|
self.view = urwid.Pile([
|
||||||
urwid.AttrMap(self.chat, "body"),
|
('pack', urwid.AttrMap(self.header, "header")),
|
||||||
header=urwid.AttrMap(self.header, "header"),
|
urwid.AttrMap(
|
||||||
footer=urwid.AttrMap(self.send, "footer")
|
urwid.ScrollBar(
|
||||||
|
self.chat,
|
||||||
|
trough_char=urwid.ScrollBar.Symbols.LITE_SHADE
|
||||||
|
),
|
||||||
|
"body"
|
||||||
|
),
|
||||||
|
('pack', urwid.AttrMap(self.send, "footer")),
|
||||||
|
]
|
||||||
)
|
)
|
||||||
c = self.conversation_selection()
|
c = self.conversation_selection()
|
||||||
w = urwid.Columns(
|
w = urwid.Columns(
|
||||||
|
|
Loading…
Reference in New Issue