URI:
       tdisable (soft)-line wrapping - webdump - [FORK] git://git.codemadness.org/webdump
  HTML git clone git://git.z3bra.org/webdump.git
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 5f9f773188b1302892021161d0656bb57e0323c0
   DIR parent 8ef0a95fe47d42ce8627c8aa7232a9eb1d4a172e
  HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Wed, 20 Nov 2019 23:30:21 +0100
       
       disable (soft)-line wrapping
       
       Diffstat:
         M webdump.c                           |      11 +++++++----
       
       1 file changed, 7 insertions(+), 4 deletions(-)
       ---
   DIR diff --git a/webdump.c b/webdump.c
       t@@ -253,10 +253,6 @@ printc(int c)
                        if (whitespace_mode == 3) {
                                putchar(' ');
                                ncharsline++;
       -                        /* DEBUG: soft line-wrapping on white-space */
       -                        /* TODO: better line-wrapping */
       -                        if (ncharsline > termwidth)
       -                                newline();
                        }
        
                        whitespace_mode = 2;
       t@@ -265,6 +261,13 @@ printc(int c)
                                ncharsline++;
                        }
                }
       +
       +#if 0
       +        /* DEBUG: soft line-wrapping on white-space and certain characters like ',' */
       +        /* TODO: better line-wrapping */
       +        if (strchr(" \n\t", c) && ncharsline >= termwidth)
       +                newline();
       +#endif
        }
        
        /* Find nearest parent node belonging to type. For example a listitem -> list */