mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 04:32:05 +00:00
macOS: Fix pasting paths from dropped file promises
Previously they were always invalid (deleted in a few milliseconds). Now, kitty preserves them for ten minutes or till kitty exit, whichever is sooner. This is still not ideal, but is likely the best that can be done with File Promises since we have no idea when the client will consume them. It is at any rate better than the old behavior and is superior to the alternative of letting the drag source keep the promised data alive for some indeterminate time period. Now we can guarantee ten minutes of validity. Note I still need to test this on an actual mac as I currently dont have access to one. Fixes #10430
This commit is contained in:
parent
ede47d2f93
commit
b869fe4e7f
8 changed files with 190 additions and 46 deletions
|
|
@ -302,6 +302,10 @@ Detailed list of changes
|
|||
field name>`` instead of echoing the field name back verbatim, which allowed
|
||||
using the escape code to make the terminal emit arbitrary printable ASCII text
|
||||
|
||||
- macOS: Fix dropping files that are provided as file promises pasting paths to
|
||||
files that no longer exist. The dropped files are now kept alive for
|
||||
ten minutes and removed when kitty quits (:iss:`10430`)
|
||||
|
||||
|
||||
0.48.2 [2026-07-30]
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue