mirror of
https://git.adityakumar.xyz/llama.cpp.git
synced 2024-11-09 15:29:43 +00:00
Locale fix for Windows (#1379)
This commit is contained in:
parent
9f8dbc4787
commit
e6a46b0ed1
1 changed files with 2 additions and 1 deletions
|
@ -520,8 +520,9 @@ void console_init(console_state & con_st) {
|
||||||
if (con_st.tty != nullptr) {
|
if (con_st.tty != nullptr) {
|
||||||
con_st.out = con_st.tty;
|
con_st.out = con_st.tty;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
setlocale(LC_ALL, "");
|
setlocale(LC_ALL, "");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void console_cleanup(console_state & con_st) {
|
void console_cleanup(console_state & con_st) {
|
||||||
|
|
Loading…
Reference in a new issue