]> Sergey Matveev's repositories - nnn.git/commit
Fix no file picked with NNN_TMPFILE set and quit with 'q'
authorArun Prakash Jana <engineerarun@gmail.com>
Sat, 15 May 2021 21:53:03 +0000 (03:23 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sat, 15 May 2021 21:53:03 +0000 (03:23 +0530)
commit31c34740bc989dff6c6301f2555b000943ce2728
tree53faca287298ca8165877cfab12e30d253f47f1e
parent79cbcc18e10c087beab7635ff214fa28f06750de
Fix no file picked with NNN_TMPFILE set and quit with 'q'

If NNN_TMPFILE is exported, the selection buffer gets cleared as it is
combined with `^G` (clear picked files and exit). So even when 'q' is
pressed to quit the program the selection is lost. This was introduced
in commit d1d491c102f5da1bf6a2c8c21fa71530e74f90d3 after release v2.7.
src/nnn.c