Pārlūkot izejas kodu

Honor -C for context colors

master
Arun Prakash Jana pirms 5 gadiem
vecāks
revīzija
835f0c16d6
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: A75979F35C080412
2 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. +1
    -0
      README.md
  2. +1
    -1
      src/nnn.c

+ 1
- 0
README.md Parādīt failu

@@ -81,6 +81,7 @@ It runs smoothly on the Pi, [Termux](https://www.youtube.com/watch?v=AbaauM7gUJw
- Static binary available (no need to install) - Static binary available (no need to install)
- Minimal library deps, easy to compile - Minimal library deps, easy to compile
- No config file, minimal config with sensible defaults - No config file, minimal config with sensible defaults
- Plugin to backup configuration
- Widely available on many packagers - Widely available on many packagers
- Touch enabled, comfortable on handhelds too! - Touch enabled, comfortable on handhelds too!
- Unicode support - Unicode support


+ 1
- 1
src/nnn.c Parādīt failu

@@ -1697,7 +1697,7 @@ static bool initcurses(void *oldmask)
if (colors && *colors == '#') { if (colors && *colors == '#') {
char *sep = strchr(colors, ';'); char *sep = strchr(colors, ';');


if (COLORS >= 256) {
if (!g_state.oldcolor && COLORS >= 256) {
++colors; ++colors;
ext = TRUE; ext = TRUE;




Notiek ielāde…
Atcelt
Saglabāt