aboutsummaryrefslogtreecommitdiffstats
path: root/nnn.c
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-04-16 13:05:08 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-04-16 13:07:29 +0530
commit5b68fa1a67b01fc159bdc357babc1c33e98bc992 (patch)
treeef3cf1e4f2f8acfed0c0fde49446a1ab52136172 /nnn.c
parent2d7b575c8257fbc25f9959701ebebeb26f100036 (diff)
downloadnnn-5b68fa1a67b01fc159bdc357babc1c33e98bc992.tar.gz
Use libncursesw for internationalization
Update README on dependencies
Diffstat (limited to 'nnn.c')
-rw-r--r--nnn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nnn.c b/nnn.c
index e792591..e10161c 100644
--- a/nnn.c
+++ b/nnn.c
@@ -477,9 +477,6 @@ initcurses(void)
keypad(stdscr, TRUE);
curs_set(FALSE); /* Hide cursor */
timeout(1000); /* One second */
-
- /* Set locale */
- setlocale(LC_ALL, "");
}
static void
@@ -1674,6 +1671,9 @@ main(int argc, char *argv[])
exit(1);
}
+ /* Set locale */
+ setlocale(LC_ALL, "");
+
initcurses();
browse(ipath, ifilter);
exitcurses();