Re: On the behaviour of the checkwinsize shopt from within a subshell
From:
Koichi Murase
Subject:
Re: On the behaviour of the checkwinsize shopt from within a subshell
Date:
Wed, 22 Feb 2023 13:25:07 +0900
2023年2月22日(水) 4:25 Chet Ramey <chet.ramey@case.edu>:
> I think we could probably allow it during programmable completion, too. I
> don't know if it will provide any user benefit, though.
I see. Maybe it is more consistent, and the code would be simpler.
I'm not sure either if there is really a use case for checkwinsize in
the programmable-completion context, but I recall that Fzf introduces
a TUI selection menu triggered by completions for a certain word like
**, for which the terminal window size is needed (but Fzf is
implemented in a different language, Go lang).
--
Koichi