python - Python Click Option Backspace
问题描述
I'm using a few @click.option()
statements in my CLI program
.
When the program runs and the user enters in a value, and the backspace key is pressed, it does not process the backspace input as a backspace and outputs raw characters in the input field instead.
I've gone through the Click package documentation
and searched online, but I've not come across anything useful.
Is anyone aware of a way to get the backspace to work as expected in the event that the user needs to correct their input before hitting Enter?
Thanks.
解决方案
推荐阅读
- node.js - Docker nginx 镜像问题
- version-control - “directory_structure.txt”文件的目的是什么?
- python - Python Selenium“无法定位元素”
- java - 处理异常:javax.net.ssl.SSLHandshakeException:收到致命警报:handshake_failure
- fortran - 模块过程中的 IMPORT 语句
- python - Visual Studio Code 忽略断点
- django - 如何在 VSCode 中调试 Django Javascript?
- r - 使用循环创建多个虚拟变量
- android - Firemonkey:如何检测操作系统(Android/iOS)何时关闭
- mysql - 如何在每个 GROUP BY 中排序