properly yank shite

This commit is contained in:
Jorge Morante 2016-10-10 23:22:45 +02:00
parent 00a98e742f
commit b05b723165
1 changed files with 2 additions and 1 deletions

View File

@ -137,6 +137,7 @@ BEGIN {
col_pos = pos;
line_match = substr(line, RSTART, RLENGTH);
full_line_match = line_match
if (COLLAPSE_HINTS) {
hint_len = length(hint)
@ -157,7 +158,7 @@ BEGIN {
col_pos_correction += length(sprintf(highlight_format, line_match)) + length(sprintf(hint_format, hint)) - 1;
hint_lookup = hint_lookup hint ":" line_match "\n"
hint_lookup = hint_lookup hint ":" full_line_match "\n"
}
printf "\n%s", output_line