Duplo

Building Blocks & Learning Experiences

Browsing Posts in General

When using tmux in Terminal.app with the TERM preference set to xterm-color causes some weird line wrapping behavior. Images speak louder than words here:

Just before the weirdnessJust before the weirdness

The weirdness beginsThis blank line is the weirdness, it’s really disconcerting when typing a long command, or when using readline to look through previous commands.

Continuing weirdness...The weirdness continues…

And after a CTRL-l we're fine againBut a CTRL-l will help ease our pain.

The weirdness seems to have something to do with being at the bottom of a terminal window. The problem is not exhibited at the top of an empty window.

A solution is to set your TERM value in Terminal.app to xterm.

About Duplo

No comments

This blog is for notes, and perhaps even discussions about software development. The majority of the articles will revolve around problems and solutions I’ve encountered during my adventures in software development.