You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by gn...@apache.org on 2014/07/15 10:19:54 UTC

[3/4] git commit: [KARAF-3117] The console welcome message is garbled when the console is restarted

[KARAF-3117] The console welcome message is garbled when the console is restarted

Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/8f858813
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/8f858813
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/8f858813

Branch: refs/heads/karaf-2.x
Commit: 8f858813ff87b5af807c264c66e14f5955d699cf
Parents: e046011
Author: Guillaume Nodet <gn...@gmail.com>
Authored: Tue Jul 15 10:01:07 2014 +0200
Committer: Guillaume Nodet <gn...@gmail.com>
Committed: Tue Jul 15 10:01:07 2014 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/karaf/shell/console/jline/Console.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/8f858813/shell/console/src/main/java/org/apache/karaf/shell/console/jline/Console.java
----------------------------------------------------------------------
diff --git a/shell/console/src/main/java/org/apache/karaf/shell/console/jline/Console.java b/shell/console/src/main/java/org/apache/karaf/shell/console/jline/Console.java
index 90bd094..070d6f9 100644
--- a/shell/console/src/main/java/org/apache/karaf/shell/console/jline/Console.java
+++ b/shell/console/src/main/java/org/apache/karaf/shell/console/jline/Console.java
@@ -156,6 +156,7 @@ public class Console implements Runnable
         if (!running) {
             return;
         }
+        out.println();
         if (reader.getHistory() instanceof PersistentHistory) {
             try {
                 ((PersistentHistory) reader.getHistory()).flush();