[
https://issues.jboss.org/browse/SRAMP-573?page=com.atlassian.jira.plugin....
]
David virgil naranjo commented on SRAMP-573:
--------------------------------------------
What about Control+ D, exiting.
Ctrl-U and Ctrl-K clear the text
And for control +C we wait, as this is a more complex development.
I tried a solution using threads, creating a thread per command executed, and in case the
Control+C is pressed trying to kill/stop the process. But it is not easy to kill a Thread
in Java. It should be done using the Thread.interrupt().
Ctrl+C should not exit the CLI
------------------------------
Key: SRAMP-573
URL:
https://issues.jboss.org/browse/SRAMP-573
Project: S-RAMP
Issue Type: Bug
Reporter: Brett Meyer
Assignee: David virgil naranjo
If you mistype a command in the CLI, I'd expect Ctrl+C to clear it. Instead, it
exits the shell completely. Instead, limit that to Ctrl+D. Block Ctrl+C from exiting and
ensure it clears the current partially-typed command.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)