mirror of
https://git.freebsd.org/ports.git
synced 2025-05-15 16:51:52 -04:00
20 lines
554 B
C
20 lines
554 B
C
--- lib/tty/win.c.orig 2014-09-02 09:23:58 UTC
|
|
+++ lib/tty/win.c
|
|
@@ -95,7 +95,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);
|
|
@@ -107,7 +107,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);
|