Skip to content

Commit 9c05b2c

Browse files
committed
Merge pull request #109 from eprogramming/master
this closes #80
2 parents ad36bc6 + f9147f8 commit 9c05b2c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/java/org/jboss/aesh/cloverxell/controller/CloverxellController.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ public void send(String command, String customCommand, CloverXRequest request) t
4040
else {
4141
aesh.run(customCommand);
4242
}
43-
String result = aesh.getResult() + "@" + aesh.getCurrentDirectory();
43+
44+
45+
String result = aesh.getResult();
46+
result = result.replaceAll("@", " ");
47+
result = result + "@" + aesh.getCurrentDirectory();
4448
request.getExchange().getResponseSender().send(result);
4549
aesh.reset();
4650
}

0 commit comments

Comments
 (0)