Browse code

Merge pull request #54 from neuschaefer/score

Fix line maximum line length when scores are shown

John Hawthorn authored on 05/10/2017 21:23:19 • GitHub committed on 05/10/2017 21:23:19
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)