mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-24 21:59:47 +03:00
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.
This commit is contained in:
parent
189960c467
commit
239c794503
@ -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, "+");
|
||||
|
Loading…
Reference in New Issue
Block a user