Skip to content

[Feature Request] Disabling line-wrap #1784

@MisterTicot

Description

@MisterTicot

The point of disabling line wrap is to be able to cleanly "preview" the first rows of a terminal output. With line wrap enabled, a 20 character width pane is a complete mess.

I use that while writing code on my netbook: left pane is the 80 characters width editor and right pane is the first 24 characters of tests or build in watch mode. This allows me to quickly notice when something is going wrong.

Example:

I've been looking for that option on the web & the only solution I found was to do it at terminal level:

setterm --linewrap off

There's a limitation though: terminal linewrap delete content that overflow, so you can't get the full output by selecting the pane then Ctrl-B + Z. That's inconvenient: once an error happens, you generally want to review the full log.

I'm not sure if it is possible yet: maybe I just missed the solution. In any case, if it is not implemented yet, I think this is worth considering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions