From 239c794503a09b921145af2da1dc2139c395c84b Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 19 Sep 2021 11:42:35 +0200 Subject: [PATCH] feedback: use a smaller diamond to represent an anchor, to not overflow In the terminal font that I use nowadays (that deals well with combining characters), the normal diamond exceeded the boundaries of a single cell and thus partly covered the first character of the relevant line. --- src/winio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/winio.c b/src/winio.c index 6984a247..fa737cdf 100644 --- a/src/winio.c +++ b/src/winio.c @@ -2502,7 +2502,7 @@ void draw_row(int row, const char *converted, linestruct *line, size_t from_col) if (line->has_anchor && (from_col == 0 || !ISSET(SOFTWRAP))) #ifdef ENABLE_UTF8 if (using_utf8()) - wprintw(edit, "\xE2\x97\x86"); /* black diamond */ + wprintw(edit, "\xE2\xAC\xA5"); /* black medium diamond */ else #endif wprintw(edit, "+");