projects
/
platform
/
upstream
/
zypper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7c5858
)
Echo a newline after the user enters EOF.
author
Martin Vidner
<mvidner@suse.cz>
Tue, 13 Feb 2007 09:53:33 +0000
(09:53 +0000)
committer
Martin Vidner
<mvidner@suse.cz>
Tue, 13 Feb 2007 09:53:33 +0000
(09:53 +0000)
src/zypper.cc
patch
|
blob
|
history
diff --git
a/src/zypper.cc
b/src/zypper.cc
index
9c1f930
..
679cf2a
100644
(file)
--- a/
src/zypper.cc
+++ b/
src/zypper.cc
@@
-1010,7
+1010,11
@@
void command_shell ()
string command = sh_argv[0]? sh_argv[0]: "";
- if (command == "exit" || command == "quit" || command == "\004")
+ if (command == "\004") {
+ loop = false;
+ cout << endl;
+ }
+ else if (command == "exit" || command == "quit")
loop = false;
else
safe_one_command (command, sh_argc, sh_argv);