apache / cloudstack-cloudmonkey

Apache Cloudstack Cloudmonkey
Apache License 2.0
92 stars 61 forks source link

Readline issues when line goes beyond screen width #137

Open rohityadavcloud opened 1 year ago

rohityadavcloud commented 1 year ago
  1. Create/run a long cmk command in shell/interpreter mode
  2. Now try to go back and forth using cursor or emacs/shortcuts, the readline re-prints

I found this on Mac (darwin/arm64), not sure if it also affects linux or windows. The readline implement in shell mode may need re-implementation.

rohityadavcloud commented 1 year ago

It's possible to complete remove the shell mode and achieve autocompletion by other support bash/zsh (like other CLIs such as kubectl etc does).