[
https://issues.apache.org/jira/browse/IOTDB-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17412956#comment-17412956
]
Haonan Hou commented on IOTDB-1664:
-----------------------------------
I checked the current code, linux cli is using jline2 and windows is using
Scanner. Any idea about how to implement this?
> 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)