Browse code

Fix line maximum line length when scores are shown

Jonathan Neuschäfer authored on 23/09/2017 16:11:13
Showing 1 changed files

... ...
@@ -42,6 +42,7 @@ static void draw_match(tty_interface_t *state, const char *choice, int selected)
42 42
 		} else {
43 43
 			tty_printf(tty, "(%5.2f) ", score);
44 44
 		}
45
+		maxwidth -= 8;
45 46
 	}
46 47
 
47 48
 	if (selected)