Skip to content

Commit

Permalink
refactor: Remove the TUI title banner
Browse files Browse the repository at this point in the history
  • Loading branch information
AnonymouX47 committed Apr 13, 2023
1 parent 5029204 commit 4339777
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/termvisage/tui/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,16 +525,10 @@ def keypress(self, size: Tuple[int, int], key: str) -> str:
viewer = NoSwitchColumns(
[(20, urwid.AttrMap(menu_box, "unfocused box", "focused box")), view]
)
banner = urwid.LineBox(
urwid.AttrMap(
urwid.Filler(urwid.Text(("red on green", "TermVisage"), "center")),
"red on green",
),
)
loading = urwid.Text("", "center")
notifications = urwid.Pile([])
notif_bar = urwid.Columns([(3, urwid.Filler(loading)), urwid.Filler(notifications)])
pile = urwid.Pile([(3, banner), viewer], 1)
pile = urwid.Pile([viewer])

info_bar = urwid.Text("")

Expand Down

0 comments on commit 4339777

Please sign in to comment.