Commit Diff


commit - d804a1b1bb6a74351b5b34cfef88256b75f6f21e
commit + d8721789910b9ce239711713db88d608a8b1985d
blob - e075cab3a5e524546611f19eb261070470a9202f
blob + 8948117127c47b31de640accbf36535ddd08cba6
--- ui.c
+++ ui.c
@@ -440,10 +440,13 @@ print_vline_descr(int width, WINDOW *window, struct vl
 static inline void
 print_line_break(int width, WINDOW *window)
 {
-	int x, y;
+	int		 x, y, len;
+	const char	*sep = "-*-*-";
 
+	len = utf8_swidth(sep);
+
 	getyx(window, y, x);
-	mvwprintw(window, y, width/2 - 4, "-*-*-");
+	mvwprintw(window, y, width/2 - len, sep);
 }
 
 /*