From ede779459d2c3c370e1838546b27a67f744af556 Mon Sep 17 00:00:00 2001 From: pixel Date: Sun, 3 Apr 2005 19:39:06 +0000 Subject: Fixing that damn "multi line" bug. --- cd-tool.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cd-tool.cpp b/cd-tool.cpp index 5e9a231..16e24f0 100644 --- a/cd-tool.cpp +++ b/cd-tool.cpp @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: cd-tool.cpp,v 1.42 2005-03-31 16:23:03 pixel Exp $ */ +/* $Id: cd-tool.cpp,v 1.43 2005-04-03 19:39:06 pixel Exp $ */ #define WIP @@ -668,7 +668,7 @@ virtual int startup() throw (GeneralException) { line[line.strlen() - 1] = ' '; } else if (auto_exec) { runit = true; - } + } command << line; @@ -691,9 +691,10 @@ virtual int startup() throw (GeneralException) { strcpy(prompt, "> "); } else { strcpy(prompt, "- "); + command << "\n"; } line = endline.trim(); - }; + } } /* Finishing off the work, cleaning out the dust */ -- cgit v1.2.3