Score:0

Can I make the terminal wrap lines without splitting words?

cc flag

I'd like to make the terminal wrap lines without splitting the line in the middle of a word, but rather splitting the line a bit earlier to avoid doing that. Is there a way to do that?

cn flag
You can wrap _text_ with `fold`, but that's not your interactive terminal.
Score:1
cn flag

Short answer: no. The terminal displays characters, and does not care about grammar and words. If all characters on a line are used, it moves on to the next line.

If you copy the line to a text editor, you will be fine: no returns are inserted in the output. If you resize the terminal, the characters will adapt along.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.