[ 
https://issues.apache.org/jira/browse/IOTDB-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17412970#comment-17412970
 ] 

Zhong Wang commented on IOTDB-1664:
-----------------------------------

Upgrade to jline3 is another option, it seems Jline3 supports signal handling 
for windows consoles. Please see: 
https://github.com/jline/jline3/blob/92a63e1494d7e24a9f36cf639257b181080a535f/terminal/src/main/java/org/jline/terminal/impl/AbstractWindowsTerminal.java
 

> CLI quits with ctrl-D instead of ctrl-C
> ---------------------------------------
>
>                 Key: IOTDB-1664
>                 URL: https://issues.apache.org/jira/browse/IOTDB-1664
>             Project: Apache IoTDB
>          Issue Type: Improvement
>          Components: Client/CLI
>            Reporter: Zhong Wang
>            Priority: Major
>              Labels: easy-fix
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Users of shell or command line tools like IPython tend to use ctrl-C to clear 
> the current input buffer and use ctrl-D to exit the shell.
>  
> It is easy to achieve, but can greatly improve the user experience. People 
> won't frequently exit the CLI by accident anymore.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to