Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ezcli backport #124

Open
wants to merge 16 commits into
base: dev
Choose a base branch
from
Open

Ezcli backport #124

wants to merge 16 commits into from

Conversation

nanoandrew4
Copy link
Contributor

This PR backports features that I wrote for my Ezcli project, which is fairly similar to JTerm, and improves on the headless InputHandler system that was originally implemented in JTerm, which was then rewritten for Ezcli.

Some of the backported features are:

  • Improved input handling extensibility through the use of lambdas
  • Command history functionality
  • Refactored + documented input handling
  • System command running if specified command is not found amongst custom commands
  • Custom directory changing implementation, given that system level cd commands don't work inside JTerm

Sergix and others added 15 commits November 24, 2017 14:03
View changelog entry Sergix#116 and the associated documentation for details.
TODO: Fix broken links
Removed unnecessary throws in initWindows function Sergix#120
…ds to the underlying system (currently only Unix/bash commands are supported), and reading/writing a history file similar to bash_history. The ported code also includes more documentation, which will be expanded on
…ed custom command running to enable custom commands previously implemented by JTerm
…y did previously, though more in depth tests are pending
# Conflicts:
#	src/main/java/jterm/JTerm.java
#	src/main/java/jterm/io/input/InputHandler.java
#	src/main/java/jterm/io/input/Keys.java
#	src/main/java/jterm/io/output/GuiPrinter.java
#	src/main/java/jterm/io/output/HeadlessPrinter.java
#	src/test/java/jterm/io/InputHandlerTest.java
#	src/test/java/jterm/util/UtilTest.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants