mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 08:26:56 +00:00
...
This commit is contained in:
parent
898599ff14
commit
9a3f3ed14e
1 changed files with 3 additions and 0 deletions
|
|
@ -449,6 +449,9 @@ func (dnd *dnd) end_drop(success bool) {
|
|||
if dnd.drop_status.reading_data {
|
||||
dnd.lp.QueueDnDData(DC{
|
||||
Type: 'r', Operation: utils.IfElse(success, dnd.drop_status.action, 0)}) // end drop
|
||||
if success && dnd.drop_status.action == 2 && !dnd.drop_status.is_remote_client {
|
||||
// TODO: delete all dropped files/dirs/symlinks after successful move
|
||||
}
|
||||
}
|
||||
dnd.reset_drop()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue