summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cd-tool.cpp7
1 files 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 */