Commit Diff


commit - 15354eed0814392f42d04f3b6aeb71df253b1d66
commit + 446b8c2750d7c72b978cbd0f4171d7d08c9a218a
blob - b35bc8e74d5d3f609e38e200022a00d140b819a8
blob + 08700995cdf4da1d19e8a29e6e36c46c1488291a
--- ui.c
+++ ui.c
@@ -1096,18 +1096,8 @@ redraw_tabline(void)
 	wprintw(tabline, " ");
 	TAILQ_FOREACH(tab, &tabshead, tabs) {
 		current = tab->flags & TAB_CURRENT;
-		if (current) {
-			wattroff(tabline, A_REVERSE);
-			wattron(tabline, A_STANDOUT);
-		}
-
-		wprintw(tabline, " %d:todo title ",
-		    tab->id);
-
-		if (current) {
-			wattron(tabline, A_REVERSE);
-			wattroff(tabline, A_STANDOUT);
-		}
+		wprintw(tabline, " %s%d:todo title ",
+		    current ? "*" : "", tab->id);
 	}
 }