diff options
author | jacopo grandi <jak.sk8@hotmail.it> | 2021-02-22 19:51:09 +0100 |
---|---|---|
committer | jacopo grandi <jak.sk8@hotmail.it> | 2021-02-22 19:51:09 +0100 |
commit | 4842b67ab590250d95ad4be5fe61380a09b1e8ea (patch) | |
tree | abb973efe013b3b0970b2f4434119f2c41644f65 /render | |
parent | bd372bf19eb79e0bfd3f3d9cb20b4c6a49a8a5ed (diff) |
view levels and maxrange strat
Diffstat (limited to 'render')
-rw-r--r-- | render/render_text.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |