mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
Set the paste preview to monospace
This commit is contained in:
@ -131,6 +131,7 @@ const PrimaryView = struct {
|
|||||||
c.gtk_text_view_set_bottom_margin(@ptrCast(text), 8);
|
c.gtk_text_view_set_bottom_margin(@ptrCast(text), 8);
|
||||||
c.gtk_text_view_set_left_margin(@ptrCast(text), 8);
|
c.gtk_text_view_set_left_margin(@ptrCast(text), 8);
|
||||||
c.gtk_text_view_set_right_margin(@ptrCast(text), 8);
|
c.gtk_text_view_set_right_margin(@ptrCast(text), 8);
|
||||||
|
c.gtk_text_view_set_monospace(@ptrCast(text), 1);
|
||||||
|
|
||||||
return .{ .root = view.root, .text = @ptrCast(text) };
|
return .{ .root = view.root, .text = @ptrCast(text) };
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user