mirror of
https://github.com/MidnightCommander/mc
synced 2025-02-04 09:24:18 +03:00
patches by Rostislav Beneš: mc-00-slang.patch
Check if libslang support UTF-8
This commit is contained in:
parent
481b0a34ea
commit
1d3ffb0e29
@ -142,7 +142,9 @@ void
|
||||
slang_init (void)
|
||||
{
|
||||
SLtt_get_terminfo ();
|
||||
|
||||
#if SLANG_VERSION >= 20000
|
||||
SLutf8_enable (-1);
|
||||
#endif
|
||||
/*
|
||||
* If the terminal in not in terminfo but begins with a well-known
|
||||
* string such as "linux" or "xterm" S-Lang will go on, but the
|
||||
|
Loading…
x
Reference in New Issue
Block a user