]> Sergey Matveev's repositories - nnn.git/commit
Handle number of contexts in a generic fashion
authorArun Prakash Jana <engineerarun@gmail.com>
Sat, 30 May 2020 00:26:12 +0000 (05:56 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sat, 30 May 2020 00:37:53 +0000 (06:07 +0530)
commit32ab43a9ffa97eaea6865c9fe70d4743160f9a61
treefd5e2310629a51e6bc97ec90ff9b1da1781fedaa
parentc48b8d02a12e9ce074dbdc295a91238b38e372b5
Handle number of contexts in a generic fashion

This supports using a power of 2 number of contexts like 2, 4 or 8.
Note that the number of contexts are not backward compatible. So if
user is having 8 contexts and plans to use 4, his sessions with > 1
contexts open may break.

We can have a make option to enable 8 contexts. 4 remains default.
src/nnn.c