gokcehan / lf

Terminal file manager
MIT License
7.8k stars 330 forks source link

Run `on-quit` when terminal closes #1681

Closed joelim-work closed 7 months ago

joelim-work commented 7 months ago

Move on-quit hook command to inside app.quit so that it is executed even when terminated via a signel (e.g. terminal is closed). Based on https://github.com/gokcehan/lf/issues/847#issuecomment-1158119232.