["BUG"] After upgrading to x7 today, the cursor of the ai dialog box is no longer displayed. It used to be a flashing red cursor. | [mod=chat] [v0.4.4]
Describe the bug
cursor is not show in ai chat.
System (please complete the following information):
[email protected]
OS: macOS 14.5 23F79 arm64 Host: MacBookPro18,1 Kernel: 23.5.0 Uptime: 39 days, 5 hours, 42 mins Shell: fish 3.7.1 Resolution: 1728x1117@2x, 2560x1440@2x DE: Aqua Terminal: zellij GPU: Apple M1 Pro Memory: 6469MiB / 32768MiB
Screenshots
old:
new:
To Reproduce Steps to reproduce the behavior:
- Start up service: '...'
- Type command: '...'
Expected behavior A clear and concise description of what you expected to happen.
Additional context Add any other context about the problem here.
OK. I will take a look on it.
I haven't been able to reproduce the cursor problem you described. I'll ask my colleagues to see if they can replicate it.
same problem using in alacritty .
how can i rollback to last version?
I think x upgrade latest gets you back, or just run the standard eval "$(curl https://get.x-cmd.com)" installer...
I think
x upgrade latestgets you back, or just run the standardeval "$(curl https://get.x-cmd.com)"installer...
last version is not latest version
The issue can be reproduced using other terminals ?
Could you also provide the version number of gum by running x gum -v ?
I am using zellij, iterm2, and apple terminal, all of which are working fine.
If this issue occurs under this command, it is considered a defect in the upstream package, and we will find a way to replace it. So please check if this problem arises when running the command.
x gum input --prompt=">>> " --width 0 --placeholder="Enter to end the input, Ctrl-C to exit, /h for help"
yes, still no cursor.
This might be a bug in gum v0.14.1, previously x-cmd used gum v0.13.0
How to temporarily specify the version to avoid this problem, which greatly affects the use
I decide to give up gum input.
Instead we try to use fzf as a one-liner editor. ( Also with history supports )
It switchs to gum write if necessary.
This solution requires further refinement. We welcome your feedback and suggestions. We will implement necessary adjustments in this week.
I'd love to try this approach
Just like https://github.com/x-cmd/x-cmd/issues/35
The issue with gum input has been addressed by switching to fzf.
We've implemented fzf as a replacement, providing a more robust solution. Please take a look ~
This issue should be resolved in v0.4.4.
Please reopen this issue if the problem persists.