mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-01 00:54:24 +03:00
* slint.c (slang_init): Allow upto 512 lines and cols if the
SLang library can handle it.
This commit is contained in:
parent
d5da4d6b94
commit
a5fefdbd71
@ -1,3 +1,8 @@
|
|||||||
|
2004-11-07 Leonard den Ottolander <leonard * den ottolander nl>
|
||||||
|
|
||||||
|
* slint.c (slang_init): Allow upto 512 lines and cols if the
|
||||||
|
SLang library can handle it.
|
||||||
|
|
||||||
2004-11-07 Roland Illig <roland.illig@gmx.de>
|
2004-11-07 Roland Illig <roland.illig@gmx.de>
|
||||||
|
|
||||||
* key.c (use_8th_bit_as_meta): Use 8bit input as default.
|
* key.c (use_8th_bit_as_meta): Use 8bit input as default.
|
||||||
|
@ -183,7 +183,10 @@ slang_init (void)
|
|||||||
* (as of S-Lang 1.4.4). Detect it and abort. Also detect extremely
|
* (as of S-Lang 1.4.4). Detect it and abort. Also detect extremely
|
||||||
* small, large and negative screen dimensions.
|
* small, large and negative screen dimensions.
|
||||||
*/
|
*/
|
||||||
if ((COLS < 10) || (LINES < 5) || (COLS > 255) || (LINES > 255)) {
|
if ((COLS < 10) || (LINES < 5) ||
|
||||||
|
(SLang_Version < 10407 && (COLS > 255 || LINES > 255)) ||
|
||||||
|
(SLang_Version >= 10407 && (COLS > 512 || LINES > 512))) {
|
||||||
|
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
_("Screen size %dx%d is not supported.\n"
|
_("Screen size %dx%d is not supported.\n"
|
||||||
"Check the TERM environment variable.\n"),
|
"Check the TERM environment variable.\n"),
|
||||||
|
Loading…
Reference in New Issue
Block a user