Skip to content
Snippets Groups Projects
Commit bd8e293e authored by Marcus Comstedt's avatar Marcus Comstedt
Browse files

Don't do SP+BS if BS doesn't work.

Rev: lib/modules/Stdio.pmod/Readline.pike:1.8
parent e6f49bb7
No related branches found
No related tags found
No related merge requests found
// $Id: Readline.pike,v 1.7 1999/03/23 18:30:06 marcus Exp $
// $Id: Readline.pike,v 1.8 1999/03/23 20:48:36 marcus Exp $
class OutputController
{
......@@ -84,8 +84,9 @@ class OutputController
if(!term->tgetflag("am"))
outfd->write((term->put("cr")||"")+(term->put("do")||"\n"));
}
if(xpos==0 && term->tgetflag("am"))
outfd->write(" "+(term->put("le")||""));
string le;
if(xpos==0 && term->tgetflag("am") && (le=term->put("le")))
outfd->write(" "+le);
if(n>0) {
outfd->write(s);
xpos += n;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment