diff options
author | Curtis McEnroe | 2018-08-13 23:09:53 -0400 |
---|---|---|
committer | Curtis McEnroe | 2018-08-13 23:09:53 -0400 |
commit | ed9961410e3f9e4a23244446a4d2cfd2f1a79584 (patch) | |
tree | 403d7a03e040d9a51c927f7b77d7e436a7e72dcf /ui.c | |
parent | 11d445b6720d78d4fe847affb1d26ee0a552ea0f (diff) |
Set title to tag name
Diffstat (limited to 'ui.c')
-rw-r--r-- | ui.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui.c b/ui.c index 6fcb75e..29b7b08 100644 --- a/ui.c +++ b/ui.c @@ -169,6 +169,7 @@ void uiInit(void) { noecho(); colorInit(); + termInit(); ui.input = newpad(2, INPUT_COLS); mvwhline(ui.input, 0, 0, ACS_HLINE, INPUT_COLS); @@ -177,6 +178,7 @@ void uiInit(void) { nodelay(ui.input, true); ui.view = viewTag(TAG_STATUS); + termTitle(TAG_STATUS.name); uiShow(); } @@ -228,6 +230,7 @@ static void uiRedraw(void) { } static void uiView(struct View *view) { + termTitle(view->tag.name); if (view->topic) touchwin(view->topic); touchwin(view->log); ui.view->mark = true; |