diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-05 07:21:01 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-05 07:21:01 +0000 |
commit | 0c78894c64ebea8f4ab0917e43506b712921a05d (patch) | |
tree | b7bb07cd90c4bde5dc23981dfc32d3c033c55929 /term.c | |
parent | f9109fa61e7b814ab140124e035d7e7f813e0995 (diff) | |
download | mandoc-0c78894c64ebea8f4ab0917e43506b712921a05d.tar.gz |
Added functionality of -Tascii non-breaking `\~' space.
Diffstat (limited to 'term.c')
-rw-r--r-- | term.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -229,7 +229,12 @@ term_flushln(struct termp *p) for ( ; i < (int)p->col; i++) { if (' ' == p->buf[i]) break; - putchar(p->buf[i]); + + /* The unit sep. is a non-breaking space. */ + if (31 == p->buf[i]) + putchar(' '); + else + putchar(p->buf[i]); } vis += vsz; } |