When `iftop` is run under a terminal/font combination that supports ligatures, the "<=" characters form a single, stacked "less than or equal to" glyph rather than an arrow pointing left. This patch replaces "<=" with "<-" along with some others in order to remain visually consistant. --- ui.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/ui.c b/ui.c index abaadd2..5878330 100644 --- a/ui.c +++ b/ui.c @@ -330,17 +330,17 @@ void ui_print() {
switch(options.linedisplay) { case OPTION_LINEDISPLAY_TWO_LINE: - mvaddstr(y, x, " => "); - mvaddstr(y+1, x, " <= "); + mvaddstr(y, x, " -> "); + mvaddstr(y+1, x, " <- "); break; case OPTION_LINEDISPLAY_ONE_LINE_BOTH: mvaddstr(y, x, "<=> "); break; case OPTION_LINEDISPLAY_ONE_LINE_SENT: - mvaddstr(y, x, " => "); + mvaddstr(y, x, " -> "); break; case OPTION_LINEDISPLAY_ONE_LINE_RECV: - mvaddstr(y, x, " <= "); + mvaddstr(y, x, " <- "); break; }