Johannes Altmanninger d40d2b786f Work around wants_terminal not begin set inside eval
On this binding we fail to disable CSI u

    bind c-t '
        begin
            set -lx FZF_DEFAULT_OPTS --height 40% --bind=ctrl-z:ignore
            eval fzf | while read -l r; echo read $r; end
        end
    '

because for "fzf", ParseExecutionContext::setup_group() returns early with the
parent process group (which should be fish's own) , hence "wants_terminal"
is false. This seems questionable, I don't think the eval should make a
difference here.

For now, don't touch it; use the more accurate way of detecting whether
a process may read keyboard input. In many of such cases "wants_terminal"
is false, like

    echo (echo 1\n2\n3 | fzf)

Fixes #10504
2024-05-18 20:55:06 +02:00
..
2024-04-23 21:59:40 +02:00
2023-11-15 17:58:42 +01:00
2020-11-22 14:39:48 +01:00
2024-05-06 10:26:32 -07:00
2024-04-02 14:35:16 +02:00
2020-11-22 14:39:48 +01:00
2024-04-02 22:41:54 +02:00
2020-11-22 14:39:48 +01:00
2023-06-01 18:20:19 +02:00
2024-05-16 12:26:47 +02:00
2024-04-23 19:40:49 +02:00
2023-06-01 18:20:19 +02:00