mirror of
https://github.com/rr-/pq-cli.git
synced 2026-09-29 14:54:00 -06:00
19 lines
423 B
Python
19 lines
423 B
Python
import typing as T
|
|
|
|
import urwid
|
|
|
|
|
|
class LineBox(urwid.AttrWrap):
|
|
def __init__(
|
|
self, widget: urwid.Widget, *args: T.Any, **kwargs: T.Any
|
|
) -> None:
|
|
super().__init__(
|
|
urwid.LineBox(
|
|
urwid.AttrWrap(widget, "linebox-content", "linebox-content"),
|
|
*args,
|
|
**kwargs,
|
|
),
|
|
"linebox",
|
|
"linebox-focus",
|
|
),
|