News for hackers. Stuff that matters.
Re:A Powerline-style prompt for Bash by ericbb on Sunday September 09, 2012 @08:31AM (#4495632)
Maybe use \033[L (ANSI for insert-line).

Edit: If I understand what you're doing, then maybe you can use this:

    tput ind; tput home; tput il1; echo -n "header"; tput el; tput cup $LINES 0
Use "man terminfo" to lookup things like "il1" and use "infocmp" to see what they translate to in your terminal.

There are no comments on this comment yet.