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 | |
| parent | 11d445b6720d78d4fe847affb1d26ee0a552ea0f (diff) | |
Set title to tag name
| -rw-r--r-- | ui.c | 3 | 
1 files changed, 3 insertions, 0 deletions
@@ -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;  | 
