Double clicking first output word selects rprompt
fish shell, double clicking the first word in the output to select it also also selects the last word of the time/RPROMPT:
Expected behavior: only
selection is selected
Actual behavior: both
39 on the previous line are selected.
Note that this only happens with foot terminal, not with e.g. alacritty. On the other hand, ZSH in foot doesn't have this problem: when setting e.g.
RPROMPT=abc and running
echo selection, double clicking
selection only selects that word and not the
abc in the RPROMPT.
There should probably be some way to mark the end-of-line as a word separator.
I also reported this to fish, but according to them this should be solved by foot: https://github.com/fish-shell/fish-shell/issues/8037
Yeah, this is a bug in foot.
The word selection logic doesn't take explicit newlines into account, making it consider the rprompt a part of the first word on the next line.
Fix coming later today.
Deleting a branch is permanent. It CANNOT be undone. Continue?