Files
junegunn--fzf/src
Junegunn Choi dab626bd9e Restore bracketed paste mode instead of forcing it off
Ask the terminal whether the mode is already on (DECRQM) and put it back
that way on exit. Forcing it off broke pasting in shells that run fzf
from a line editor widget, which enable the mode only when the editor
starts. Terminals that do not answer fall back to disabling it.

- Startup queries go out in one write, cursor position last. Every
  terminal answers DSR, so its reply bounds the wait: a paste reply
  still missing by then means the terminal does not know the query.
- Bound the first read with select(2). Terminals that never answer
  escape sequences, such as FreeBSD virtual terminals, blocked startup
  until a key was pressed, and that keystroke was then discarded.

Fix #4887
Fix #2860
Fix #976
2026-08-10 22:36:25 +09:00
..
2026-08-10 22:36:25 +09:00
2026-08-10 22:36:25 +09:00
2026-04-20 00:47:16 +09:00
2025-11-12 22:05:17 +09:00
2026-05-25 14:31:51 +09:00
2025-11-12 22:05:17 +09:00
2023-07-16 17:14:22 +09:00
2016-08-19 02:39:32 +09:00
2026-02-19 00:20:09 +09:00
2024-09-29 19:33:42 +09:00
2024-09-29 19:33:42 +09:00
2024-11-03 20:12:47 +09:00