2 Copyright © 2013 Alastair Stuart
4 This program is open source software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
24 if (c
> 127 && c
< 256) {
30 if ((c
>= ' ' && c
<= '~') || ((c
== '\t' || c
== '\n') && !is_meta
)) {
32 } else if (c
>= 0 && c
< 32) {