mirror of
https://git.freebsd.org/ports.git
synced 2025-07-15 16:29:15 -04:00
Reported by: "Herbert J. Skuhra" <hskuhra@eumx.net> Approved by: pawel / wg (mentors, implicit)
20 lines
606 B
C
20 lines
606 B
C
--- ./lib/tty/win.c.orig 2013-09-02 19:13:32.000000000 +0200
|
|
+++ ./lib/tty/win.c 2013-12-07 10:33:20.000000000 +0100
|
|
@@ -96,7 +96,7 @@
|
|
void
|
|
do_enter_ca_mode (void)
|
|
{
|
|
- if (mc_global.tty.xterm_flag && smcup != NULL)
|
|
+ if (mc_global.tty.xterm_flag)
|
|
{
|
|
fprintf (stdout, /* ESC_STR ")0" */ ESC_STR "7" ESC_STR "[?47h");
|
|
fflush (stdout);
|
|
@@ -108,7 +108,7 @@
|
|
void
|
|
do_exit_ca_mode (void)
|
|
{
|
|
- if (mc_global.tty.xterm_flag && rmcup != NULL)
|
|
+ if (mc_global.tty.xterm_flag)
|
|
{
|
|
fprintf (stdout, ESC_STR "[?47l" ESC_STR "8" ESC_STR "[m");
|
|
fflush (stdout);
|