1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-28 22:22:41 +03:00
kakoune/test/regression/0-crash-on-pipe-with-selection-access/cmd
Maxime Coste 04993de687 Fix pipe logic in the case where the selections were accessed in the cmdline
When using an env var that needed the selections in the pipe command line,
say $kak_selection, the selection update code would run, modifying the
selections to adapt to eventual changes. But the rest of the pipe logic
was assuming the selections would not change, leading to bugs.
2017-11-08 00:02:49 +08:00

2 lines
53 B
Plaintext

%<a-s>|[ $kak_selection = "bar" ] && echo "yes"<ret>