Incomplete words read from file

jfondren julian.fondren at gmail.com
Thu Nov 18 01:28:47 UTC 2021


On Thursday, 18 November 2021 at 01:21:00 UTC, pascal111 wrote:
> I fixed the code like this and it worked without breaking 
> words, but this time it shows single lines as if the normal 
> context is a poem. Can we fix this or the terminal will force 
> us and make wrapping for lines?
>
> "https://i.postimg.cc/FHQFPgm8/Screenshot-from-2021-11-18-03-16-41.png"
>
...
>   auto fmt = pipeShell("fmt", Redirect.stdin);

try "fmt --width=120"

'man fmt' will tell you about its other arguments.


More information about the Digitalmars-d-learn mailing list