]> Sergey Matveev's repositories - nnn.git/commit
Simplify selection
authorArun Prakash Jana <engineerarun@gmail.com>
Thu, 12 Dec 2019 20:27:58 +0000 (01:57 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Thu, 12 Dec 2019 20:27:58 +0000 (01:57 +0530)
commitf73f79d5deff978bf2fac990dd3eae80207d29c5
treef29ab07f7b247fb55d2249013ad87b2206b39b77
parent5a46b8fb25b0f4f073920ca2b82ad96828475a99
Simplify selection

Update the selection buffer and file in-place:
- Append file path when one is added.
- Remember the last position in selection buffer at which the next filename
  is to be appended when a directory/context change happens (lastappendpos).
  So in case of a de-selection we can go back to that position and scan all
  the entries to add only the ones which are selected.
src/nnn.c