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

Set the paste preview text in GTK4 to monospace #4227

Merged

Conversation

danudey
Copy link
Contributor

@danudey danudey commented Dec 31, 2024

A simple change to make the text preview in the paste confirmation dialog monospace; this feels like something that most users would want, or at least very few users would dislike.

We just call gtk_text_view_set_monospace and let GTK use whatever default monospace font it wants to use. Theoretically we could probably tell it to use whatever font the user has configured, but this should be sufficient for most users.

@mitchellh mitchellh merged commit 60611b8 into ghostty-org:main Dec 31, 2024
@github-actions github-actions bot added this to the 1.0.2 milestone Dec 31, 2024
@danudey danudey deleted the change_gtk4_paste_preview_to_monospace branch January 1, 2025 16:31
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.

3 participants