mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 16:37:27 +00:00
...
This commit is contained in:
parent
7036b10326
commit
aceaef8a1d
1 changed files with 2 additions and 1 deletions
|
|
@ -1321,7 +1321,8 @@ class Window:
|
|||
fg = color_as_int(self.screen.color_profile.default_fg)
|
||||
bg = color_as_int(self.screen.color_profile.default_bg)
|
||||
width = self.geometry.right - self.geometry.left
|
||||
pixels, width = draw_single_line_of_text(self.os_window_id, f' {url} ', 0xff000000 | fg, 0xff000000 | bg, width, max_width=True)
|
||||
pixels, width = draw_single_line_of_text(
|
||||
self.os_window_id, f' {url} ', 0xff000000 | fg, 0xff000000 | bg, width, max_width=True)
|
||||
height = len(pixels) // (width * 4)
|
||||
thumbnails = ((pixels, width, height),)
|
||||
drag_data = {'text/uri-list': (url + '\r\n').encode()}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue