diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2017-04-16 13:05:08 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2017-04-16 13:07:29 +0530 |
commit | 5b68fa1a67b01fc159bdc357babc1c33e98bc992 (patch) | |
tree | ef3cf1e4f2f8acfed0c0fde49446a1ab52136172 /nnn.c | |
parent | 2d7b575c8257fbc25f9959701ebebeb26f100036 (diff) | |
download | nnn-5b68fa1a67b01fc159bdc357babc1c33e98bc992.tar.gz |
Use libncursesw for internationalization
Update README on dependencies
Diffstat (limited to 'nnn.c')
-rw-r--r-- | nnn.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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(); |