aboutsummaryrefslogtreecommitdiffstats
path: root/noice.c
Commit message (Collapse)AuthorAgeFilesLines
* Change filter prompt from "filter: " to "/"sin2019-09-051-1/+1
|
* Change default CWD formattingsin2019-09-051-1/+1
| | | | | No need for a prefix, it is obvious that the string is referring to the current working directory.
* Rework logging functionssin2019-08-241-26/+45
|
* Add -c option to enable colorssin2019-08-241-6/+16
|
* Fix commentsin2019-08-241-1/+1
|
* Move MIN() to util.hsin2019-08-241-2/+0
|
* Remove unused helperssin2019-08-241-22/+0
|
* Rename NOPENCMD to NOPEN to be consistent with env variable namingsin2019-08-221-1/+1
|
* Style fixsin2019-08-221-2/+2
|
* Allow overriding plumber via NOPEN env variablesin2019-08-221-2/+3
|
* Fix spawn*() so it can report errors to the callersin2019-08-221-1/+5
| | | | | | | | If nopen is not in PATH, noice will briefly print a warning about it so the user knows. Also, add NOPENCMD define in noiceconf.def.h to specify the default plumber program.
* Revert "Clear screen on exit"sin2019-08-071-2/+0
| | | | This reverts commit ea82ba864377c3085da350a9476a587bb19ec6a9.
* Clear screen on exitsin2019-08-031-0/+2
|
* Factor out dprintf()sin2019-08-031-16/+0
|
* Implement nopen(1)sin2019-08-031-108/+5
|
* Add sort by version number modeLazaros Koromilas2019-04-081-2/+10
|
* Move debug printing helpers to util headerLazaros Koromilas2019-04-081-14/+0
|
* Keep usage() above mainsin2019-03-311-7/+7
|
* compile all regexes at startup and show an error on failed compilationHiltjo Posthuma2019-03-311-12/+25
|
* Add support for passing options to file associationssin2019-03-311-15/+51
|
* Control color support with a simple flagLazaros Koromilas2019-02-031-1/+1
|
* Honor the default terminal foreground and backgroundLazaros Koromilas2019-02-031-0/+1
|
* Style fixesLazaros Koromilas2019-02-031-2/+3
|
* Redraw after spawned command terminatessin2019-01-191-2/+8
|
* Add directory sortingdok2019-01-191-0/+25
|
* Add case insensitive comparisondok2019-01-191-1/+11
|
* Add colorsdok2019-01-191-13/+38
|
* Add missing semicoloncel2019-01-041-1/+1
|
* Change emacs keybinds for jumping to first/last entrysin2018-04-091-5/+16
| | | | Signed-off-by: sin <sin@2f30.org>
* Return early when dir or filter result emptyLazaros Koromilas2018-02-251-0/+2
|
* Plug regex memory leaksLazaros Koromilas2018-02-251-0/+10
|
* Split out default filter initializationsin2016-08-221-6/+8
|
* Make toggle dot behaviour persistentsin2016-08-221-5/+7
| | | | | | | | Once set, the default filter is updated. This means that toggle dot will also work as expected when noice is executed as root. Based on discussion with Ypnose.
* Fix initscr() crash on NetBSDsin2016-03-101-1/+10
| | | | | | | | NetBSD has its own curses implementation and initscr() does not terminate with an error if TERM is not set properly. Instead check the return value and exit if an initialization error occurs.
* Add command to cd back to HOMEsin2016-02-251-0/+16
| | | | | Original patch written by Richard Hyde and taken from https://github.com/RichardHyde/noice
* Add command to toggle hide .dot filessin2016-02-251-0/+7
| | | | | Patch written by Richard Hyde and taken from https://github.com/RichardHyde/noice
* Style fixsin2016-02-191-2/+2
|
* Fix strlcpy() size argumentsin2016-02-191-1/+1
| | | | | | It should be the size of the destination buffer, not the source. In this case, both src and dest have the same size.
* Move mkpath() higher up so we don't need to declare itsin2016-02-101-21/+20
|
* Move path[], oldpath[] and fltr[] inside browse()sin2016-02-101-7/+7
|
* Minor style fixsin2016-02-101-4/+0
|
* Rename global `n` to `ndents`sin2016-02-101-16/+16
| | | | | This is more descriptive for a global variable which can easily be shadowed.
* Use dents name directly like we do in other placessin2016-02-101-5/+3
|
* Minor style fixsin2016-02-081-2/+2
|
* Nuke some newlinessin2016-02-081-4/+0
|
* Remove some const bullshitsin2016-02-081-1/+1
|
* Remove some more useless memory allocationssin2016-02-081-8/+5
|
* Remove filter as you type modesin2016-02-081-96/+2
| | | | Nobody uses it and adds additional complexity.
* No need for cast in qsort callbacksin2016-02-081-4/+1
|
* noice: No need to perform so many memory allocationssin2016-01-071-85/+55
| | | | | The code was quite fragile. As a first pass, use buffers of size PATH_MAX and LINE_MAX accordingly until we simplify the overall logic.
Un proyecto texto-plano.xyz