Skip to content
This repository has been archived by the owner on Dec 21, 2018. It is now read-only.

History is per line instead of per command #3

Open
javanna opened this issue Apr 11, 2013 · 0 comments
Open

History is per line instead of per command #3

javanna opened this issue Apr 11, 2013 · 0 comments
Labels

Comments

@javanna
Copy link
Owner

javanna commented Apr 11, 2013

The history stores every single line as a different command. After typing a multiline command, or a json object for example, every line is a different entry in the history. Would be nice to be able to run that same command in a single call; that would be possible if all lines were merged to the same entry within the history.

Seems to be a JLine limitation; there are possible work arounds and examples in other projects, here is one: https://github.com/apache/karaf/blob/karaf-2.3.x/shell/console/src/main/java/org/apache/karaf/shell/console/jline/Console.java#L227

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant