commit d41ad568a6f5bbe0af3af0f5b28f79ea7cfd5345 parent 1abe3bee69f88fe171dc46eb86f9c81049b69632 Author: Claudio Alessi <smoppy@gmail.com> Date: Sun, 18 Jan 2026 13:25:41 +0100 Use <hex> notation only in compat mode for now. Diffstat:
| M | tui.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tui.c b/tui.c @@ -168,7 +168,7 @@ tui_text_width(char *s, int len, int x) { assert(wc != -1); if(wc > 0) w += wc; - else if(!utf8_is_combining(cp)) w += hexlen(cp) + 2; /* 2 for < and > */ + else if(compat_mode && !utf8_is_combining(cp)) w += hexlen(cp) + 2; /* 2 for < and > */ //else w += hexlen(cp) + 2; /* 2 for < and > */ } return w;