From c72d8584adcf2caac7e51f60de421c27c2c0f499 Mon Sep 17 00:00:00 2001 From: Cerber Date: Mon, 10 Feb 2014 16:36:51 +0100 Subject: [PATCH] Allow to insert withespace in tail view --- src/main/java/com/redhat/openshift/forge/OpenShiftPlugin.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/redhat/openshift/forge/OpenShiftPlugin.java b/src/main/java/com/redhat/openshift/forge/OpenShiftPlugin.java index 164eafb..9ab089c 100755 --- a/src/main/java/com/redhat/openshift/forge/OpenShiftPlugin.java +++ b/src/main/java/com/redhat/openshift/forge/OpenShiftPlugin.java @@ -171,6 +171,8 @@ else if (baseUrl.contains("stg.")) int key = shell.scan(); if (key == 'q' || key == 'Q'){ tailThread.stopTail(); + }else if(Character.isWhitespace(key)){ + shell.print(Character.toString((char)key)); } } ShellMessages.info(shell, "Tail stopped"); @@ -354,4 +356,4 @@ private String findJenkinsApp(IUser user, PipeOut out) throws OpenShiftException return null; } -} \ No newline at end of file +}