From 74d5522915084153aa7644041ee7b4a279ca9dfa Mon Sep 17 00:00:00 2001 From: James Lu Date: Fri, 13 Jun 2025 19:59:56 -0700 Subject: [PATCH] Initialize lines to empty string in split mode Split mode only prints lines that have changed, so initializing them to "???" means that unknown / hidden hops are never printed. Fixes https://github.com/traviscross/mtr/issues/108 --- ui/split.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/split.c b/ui/split.c index c88b4fe..60520e8 100644 --- a/ui/split.c +++ b/ui/split.c @@ -136,7 +136,7 @@ void split_open( #endif LineCount = -1; for (i = 0; i < MAX_LINE_COUNT; i++) { - xstrncpy(Lines[i], "???", MAX_LINE_SIZE); + xstrncpy(Lines[i], "", MAX_LINE_SIZE); } } -- 2.47.2