我有一个瀑布风格的对话框,我使用PromptOptions来提示用户输入,如果输入错误,我会使用重试提示来通知用户输入错误。PromptOptions(prompt = 'Please enter your age', retry_prompt = 'Age should be greater than zero'))
为了验证输入,我使用了自定义验证器
我使用PSReadline模块将Vim绑定添加到Powershell中,如所示。之后的问题是,没有任何视觉指标的不同模式的Vim。# This example emits a cursor change VT escape in response to a Vi mode change.
if ($args[0] -eq 'Command') {
# Set the cursor t