Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: no wrapping for very long commands #970

Open
Robitx opened this issue Oct 15, 2024 · 6 comments
Open

bug: no wrapping for very long commands #970

Robitx opened this issue Oct 15, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@Robitx
Copy link

Robitx commented Oct 15, 2024

Describe the bug

Passing instructions to LLMs can lead to long commands. When the command length overflows the nvim width the command popup doesn't behave very well.

Steps To Reproduce

Write a very long command such as

:755,884GpRewrite @agent CodeClaude-3-5-Sonnet @with_current_buf please reproduce also the push_copy (using ActionCopy from handle_actions.go), for use of actions look into sweeper.go @with_file` modules/sweeper/sweeper.go ` @with_file` queuemailer/handle_actions.go `

yada yada yada until you get into state, where the end doesn't fit the width of nvim instance.

image

Expected Behavior

wrapping to next line

@Robitx Robitx added the bug Something isn't working label Oct 15, 2024
@Robitx
Copy link
Author

Robitx commented Oct 16, 2024

related #956

@mau-mauricelim
Copy link

mau-mauricelim commented Nov 4, 2024

Having the same issue here. Would love the wrapping feature.

When pasting long lines of text/command, the cursor gets “lost”, can’t see the cursor position and editing text/command cannot be seen.
Similar to #959

@VaanNG
Copy link

VaanNG commented Nov 8, 2024

Same issue here for simple things like creating new files with nvim-tree and the path is too long, the cmd_popup doesn't follow the cursor! Would love it did or allow for text-warping! :D
image

@duguyue100
Copy link

Same experience here with nvim-tree, in addition, noice seems to be also the reason that nvim-tree's window picker is broken.

@Fatpandac
Copy link

I have the same problem when use netrw.
image

@superNWHG
Copy link

I would suggest transforming this into a feature request since the popup doesn't behave weird after c49a4b0, so the bug:

When the command length overflows the nvim width the command popup doesn't behave very well.

seems to be resolved, but the expected behavior:

wrapping to next line

is just another feature that's not implemented now, so I think it would make sense transforming into a feature request because there is no bug anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants