]> diplodocus.org Git - nmh/commitdiff
Put, rather than print, single characters.
authorRalph Corderoy <ralph@inputplus.co.uk>
Wed, 19 Oct 2016 23:02:14 +0000 (00:02 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Wed, 19 Oct 2016 23:02:14 +0000 (00:02 +0100)
sbr/terminal.c

index 5ba6dcd..5f37116 100644 (file)
@@ -120,7 +120,7 @@ nmh_clear_screen (void)
     if (ti_clear)
        tputs (ti_clear, LI, outc);
     else {
     if (ti_clear)
        tputs (ti_clear, LI, outc);
     else {
-       printf ("\f");
+       putchar('\f');
     }
 
     fflush (stdout);
     }
 
     fflush (stdout);