mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 15:20:32 -04:00
- Remove patches for upstream tickets 2742, 3611, 3617 (resolved) - Move patch of lib/tty/win.c to lib/tty/tty-ncurses.c (upstream change) - Add patch of src/cons.handler.c to fix build, reported upstream [1] Changes this release: https://www.midnight-commander.org/wiki/NEWS-4.8.17 [1] https://www.midnight-commander.org/ticket/3643 Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D6321
20 lines
619 B
C
20 lines
619 B
C
--- lib/tty/tty-ncurses.c.orig 2016-05-07 15:42:52 UTC
|
|
+++ lib/tty/tty-ncurses.c
|
|
@@ -233,7 +233,7 @@ tty_shutdown (void)
|
|
void
|
|
tty_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);
|
|
@@ -245,7 +245,7 @@ tty_enter_ca_mode (void)
|
|
void
|
|
tty_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);
|