aboutsummaryrefslogtreecommitdiffstats
path: root/nnn.c
AgeCommit message (Collapse)Author
2017-09-27Revert "Archive handling on OS X using unar+lsar"Gravatar Arun Prakash Jana
This reverts commit 1e859eb1370bd67cecd06b7bc8c6f885b80554bd. We will use atool on OS X as well, it can be brewed easily.
2017-09-27Archive handling on OS X using unar+lsarGravatar Arun Prakash Jana
2017-09-27Support archive listing and extractionGravatar Arun Prakash Jana
2017-09-27Show current entry number in du modeGravatar Arun Prakash Jana
2017-09-27Show current entry number.Gravatar Arun Prakash Jana
...because you need to know where you are.
2017-09-24Fix #42Gravatar Arun Prakash Jana
2017-09-19Update NNN_NOWAIT changesGravatar Arun Prakash Jana
2017-09-19Prevent nnn from waiting on open file process (#40)Gravatar Paul
* Prevent nnn from waiting on open file process * Add env var flag to not wait for child process when opening file * Set nowait flag once to skip bit-or every time we open a file * Add documentation for NNN_NOWAIT
2017-09-13Skip entries in case fstatat() fails, do not exitGravatar Arun Prakash Jana
2017-09-10Support file and dir createGravatar Arun Prakash Jana
2017-09-09Convert metaviewer and color to bitfieldsGravatar Arun Prakash Jana
2017-09-09Add general info in helpGravatar Arun Prakash Jana
2017-09-04Prepare for v1.4 releaseGravatar Arun Prakash Jana
2017-09-02Reorder APIsGravatar Arun Prakash Jana
2017-09-02Disable dircolor if no sub-directoriesGravatar Arun Prakash Jana
Fix regression from 1e5a0b8c5bc78462956d01c647293a7da594c36f.
2017-09-02Move config.h to nnn.hGravatar Arun Prakash Jana
2017-09-01Use 'pin' dir instead of 'mark' dirGravatar Arun Prakash Jana
2017-09-01Calculate number of cols for name only onceGravatar Arun Prakash Jana
2017-09-01Change to light mode if < 35 columns are availableGravatar Arun Prakash Jana
2017-09-01Remove redundant variableGravatar Arun Prakash Jana
2017-09-01Adjusting number of cols is redundant with shortening.Gravatar Arun Prakash Jana
2017-09-01Fix #36: uneven splitting of codepointsGravatar Arun Prakash Jana
Check if the number of columns needed to print name exceeds the number of cols. If it does, split the name str at the max number of columns available for name. Conversion to wide char ensures the split is done at a valid codepoint. The current patch adds some optimization as well: - No more copying to an intermediate (global) string. - If the name is shortened, escape chars are replaced only till the terminator.
2017-08-26Fix cursor position issue with astral symbolsGravatar Arun Prakash Jana
In case of astral symbols like Devanagari matras multiple wide-char codepoints occupy a single position/column. Positioning the cursor wrt. the actual number of wide-characters in a wide-char string gets "visually incorrect". The trick is to calculate the correct number of columns needed to represent a fixed-size wide-character string. Relevant man pages: 1. wcswidth(3) 2. wctomb(3) 3. mblen(3) Interesting links: 1. https://www.gnu.org/software/libc/manual/html_node/Non_002dreentrant-Character-Conversion.html 2. https://www.gnu.org/software/libc/manual/html_node/Shift-State.html 3. https://10hash.com/c-programming/uchar/ 4. https://mathiasbynens.be/notes/javascript-unicode#accounting-for-astral-symbols Example file names for test: 1. Malgudi Days - मालगुडी डेज - E05. Swami and Friends - स्वामी और उसके दोस्त (Part 5) 2. Eso eso aamar ghare eso ♫ এসো এসো আমার ঘরে এসো ♫ Swagatalakshmi Dasgupta 3. Führer
2017-08-26A shorter overwrite message (key is not echoed)Gravatar Arun Prakash Jana
2017-08-26Revert "Handle multi-byte: 2 codepoints single column"Gravatar Arun Prakash Jana
This reverts commit e8cf0dc663436e2ac30f737a17d8cc91efbdd364.
2017-08-26Handle multi-byte: 2 codepoints single columnGravatar Arun Prakash Jana
Very frequent with Devanagari scripts ('matra's)
2017-08-25More concise helpGravatar Arun Prakash Jana
2017-08-25Clear rename prompt with Ctrl-LGravatar Arun Prakash Jana
2017-08-25The '> ' as rename prompt is distractingGravatar Arun Prakash Jana
2017-08-25mbstowcs() returns the codepointsGravatar Arun Prakash Jana
2017-08-25Simplify filter handlingGravatar Arun Prakash Jana
2017-08-25Get rid of getch() ('Führer' works now)Gravatar Arun Prakash Jana
2017-08-24Show line number only on fatal errorGravatar Arun Prakash Jana
2017-08-24Re-order macros, globals...Gravatar Arun Prakash Jana
2017-08-24Remove extern ref to wget_wch()Gravatar Arun Prakash Jana
2017-08-24Remove extern ref to add_history()Gravatar Arun Prakash Jana
2017-08-24Fix build failureGravatar Arun Prakash Jana
2017-08-24Show volume capacity in helpGravatar Arun Prakash Jana
2017-08-24Rename MAX_BM to BM_MAXGravatar Arun Prakash Jana
2017-08-24Support multi-byte string in renameGravatar Arun Prakash Jana
2017-08-24Show filename in renameGravatar Arun Prakash Jana
2017-08-23Add checks before dir accessGravatar Arun Prakash Jana
2017-08-23Remove shortcut F2 for refresh.Gravatar Arun Prakash Jana
F2 is not very portable e.g., doesn't work over putty (default settings).
2017-08-23Disable dir watch in filter modeGravatar Arun Prakash Jana
2017-08-23Use hyphen within dateGravatar Arun Prakash Jana
2017-08-23Support in-place file renameGravatar Arun Prakash Jana
2017-08-22Line length size limit is now 139Gravatar Arun Prakash Jana
2017-08-22Do not follow mounted fs in du modeGravatar Arun Prakash Jana
2017-08-21Implement BSD, Apple dir watch (#35)Gravatar Arun Prakash Jana
2017-08-21Watch out for directory changesGravatar Arun Prakash Jana