From 4842b67ab590250d95ad4be5fe61380a09b1e8ea Mon Sep 17 00:00:00 2001 From: jacopo grandi Date: Mon, 22 Feb 2021 19:51:09 +0100 Subject: view levels and maxrange strat --- render/render_text.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'render/render_text.c') diff --git a/render/render_text.c b/render/render_text.c index df9317c..6b801eb 100644 --- a/render/render_text.c +++ b/render/render_text.c @@ -4,6 +4,9 @@ void char_width_init (int *char_width) { for (int i=0; i<128; char_width[i++]=5); + char_width['('] = 2; char_width[')'] = 2; + char_width['['] = 2; char_width[']'] = 2; + char_width['{'] = 3; char_width['}'] = 3; char_width[','] = 1; char_width['-'] = 3; char_width['.'] = 1; char_width['/'] = 4; char_width['!'] = 1; char_width[':'] = 1; char_width[';'] = 1; -- cgit v1.2.3-54-g00ecf