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

Fix image previews in replies #225

Merged
merged 1 commit into from
Mar 24, 2024
Merged

Fix image previews in replies #225

merged 1 commit into from
Mar 24, 2024

Conversation

ulyssa
Copy link
Owner

@ulyssa ulyssa commented Mar 24, 2024

If an image preview is in a reply to a multiline message then the offset it's displayed at is wrong. This moves the logic for calculating it into show_with_preview where it can be done together with calculating the image text.

@ulyssa ulyssa added the ui Issues related to rendering, widgets, or general terminal-related issues label Mar 24, 2024
@ulyssa ulyssa added this to the v0.0.9 milestone Mar 24, 2024
@ulyssa ulyssa enabled auto-merge (squash) March 24, 2024 02:25
@ulyssa ulyssa merged commit d3b717d into main Mar 24, 2024
4 checks passed
@ulyssa ulyssa deleted the reply-with-image branch March 24, 2024 02:41
@ulyssa ulyssa mentioned this pull request Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ui Issues related to rendering, widgets, or general terminal-related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant