From c0d2c3e95d74cb60526ff28aec9f34ee3df545e0 Mon Sep 17 00:00:00 2001 From: CismonX Date: Mon, 16 Nov 2026 17:18:21 +0800 Subject: osc-52: send response even if no source has data Currently, if no source specified in the OSC-52 query has data, foot does not send any response. This does not work well with some applications (e.g. neovim ':registers'). Also refactors the code a little bit. Closes #2493 --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index d1a25691..f5b3aa60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -95,12 +95,15 @@ selection direction ([#2483][2483]). * Crash in `xdg_output_handle_done()` if called when a terminal is in the process of shutting down ([#2487][2487]). +* Not responding to an OSC-52 query if clipboard source has no data + ([#2493][2493]). [2432]: https://codeberg.org/dnkl/foot/pulls/2432 [2467]: https://codeberg.org/dnkl/foot/issues/2467 [2482]: https://codeberg.org/dnkl/foot/pulls/2482 [2483]: https://codeberg.org/dnkl/foot/issues/2483 [2487]: https://codeberg.org/dnkl/foot/issues/2487 +[2493]: https://codeberg.org/dnkl/foot/issues/2493 ### Security -- cgit v1.3