commit 239c794503a09b921145af2da1dc2139c395c84b
parent 189960c4675990f9e211ae376fa3f770702bd07e
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Sun, 19 Sep 2021 11:42:35 +0200
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.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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, "+");