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 2017/06/02 11:29:57 UTC

karaf git commit: [KARAF-5176] Fix support for characters entered while executing a command

Repository: karaf
Updated Branches:
  refs/heads/master 0748a4b4a -> b85a449c6


[KARAF-5176] Fix support for characters entered while executing a command 

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

Branch: refs/heads/master
Commit: b85a449c63cf96389238bf9f9e569cb39a259358
Parents: 0748a4b
Author: Guillaume Nodet <gn...@apache.org>
Authored: Fri Jun 2 13:29:49 2017 +0200
Committer: Guillaume Nodet <gn...@apache.org>
Committed: Fri Jun 2 13:29:49 2017 +0200

----------------------------------------------------------------------
 .../base/src/main/resources/resources/etc/shell.init.script       | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/b85a449c/assemblies/features/base/src/main/resources/resources/etc/shell.init.script
----------------------------------------------------------------------
diff --git a/assemblies/features/base/src/main/resources/resources/etc/shell.init.script b/assemblies/features/base/src/main/resources/resources/etc/shell.init.script
index 9639231..a57cabc 100644
--- a/assemblies/features/base/src/main/resources/resources/etc/shell.init.script
+++ b/assemblies/features/base/src/main/resources/resources/etc/shell.init.script
@@ -50,7 +50,10 @@ if { %(max_colors >= 256) } {
 }
 
 setopt group
+setopt auto-fresh-line
 keymap "^[OA" up-line-or-search
+keymap "^[[A" up-line-or-search
 keymap "^[OB" down-line-or-search
+keymap "^[[B" down-line-or-search