]> Sergey Matveev's repositories - nnn.git/commit
better helpstring compression
authorNRK <nrk@disroot.org>
Tue, 13 Jun 2023 16:41:56 +0000 (22:41 +0600)
committerNRK <nrk@disroot.org>
Thu, 15 Jun 2023 02:49:30 +0000 (08:49 +0600)
commit4c2ce0a84d333b62dff653a3871c97f7c19af9ec
treeae2d78575852156caa0e3ad04a3668bf32fa8bbf
parentfb6e7403cf3c1482c8a5ad12e7cfed5e978127cd
better helpstring compression

this avoids multiple printf calls and instead decodes the buffer
natively. using %NN instead of %-NNc also saves two bytes per run.
helpstr is also made `static` to avoid unnecessary stack allocation.
src/nnn.c