Skip to content

feat: align completion window #235

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

Merged
merged 1 commit into from
Nov 1, 2024
Merged

Conversation

lopi-py
Copy link
Contributor

@lopi-py lopi-py commented Nov 1, 2024

closes #221

image

@Saghen
Copy link
Owner

Saghen commented Nov 1, 2024

Ideally we would position the window based on the position of the label so it works for any draw function. I'm not sure that's possible without a larger rework though. Lmk if you have thoughts, I'll likely accept this in the interim

@lopi-py
Copy link
Contributor Author

lopi-py commented Nov 1, 2024

Currently we don't have any way to detect the label position so yeah that will need a refactor for the rendering, I think it could be related to #154. We can have this in the meantime

@Saghen Saghen merged commit 0c13fbd into Saghen:main Nov 1, 2024
@Saghen
Copy link
Owner

Saghen commented Nov 1, 2024

Thanks!

@net
Copy link

net commented Nov 2, 2024

Ideally we would position the window based on the position of the label so it works for any draw function.

At that point it should probably be a setting, as I think I would only want to align the label when it's the first element in the row.

@lopi-py lopi-py deleted the feat/completion-align branch November 10, 2024 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Align completions to buffer text in reversed draw mode
3 participants