Incomplete words read from file

pascal111 judas.the.messiah.111 at gmail.com
Thu Nov 18 02:02:14 UTC 2021


On Thursday, 18 November 2021 at 01:28:47 UTC, jfondren wrote:
> 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.

It works!

"https://i.postimg.cc/dtDnWpwN/Screenshot-from-2021-11-18-03-59-01.png"


More information about the Digitalmars-d-learn mailing list