aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/dock.c')
-rw-r--r--src/ui/dock.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ui/dock.c b/src/ui/dock.c
index 178127f..fd895c2 100644
--- a/src/ui/dock.c
+++ b/src/ui/dock.c
@@ -141,8 +141,14 @@ void ui__dock_add_child(struct ui_window_dock *dock, struct ui_window_base *chil
void ui__dock_default_draw_proc(struct ui_window_base *base)
{
struct ui_window_dock *dock = ui__cast(dock, base);
+ int maxy, maxx;
+ getmaxyx(base->cwindow, maxy, maxx);
+
+ for (int i = 0; i < maxy; ++i) {
+ mvwhline(base->cwindow, i, 0, '.', maxx);
+ }
- wrefresh(dock->super.cwindow);
+ wnoutrefresh(dock->super.cwindow);
for (unsigned i = 0; i < UI__WINDOW_DOCK_MAX; ++i)
{
if (dock->children[i])