diff options
author | pi <pi@FreeBSD.org> | 2014-12-09 20:03:13 +0800 |
---|---|---|
committer | pi <pi@FreeBSD.org> | 2014-12-09 20:03:13 +0800 |
commit | 45e56efe9d1fc3025e5b24c79d7b4ab74946fd6e (patch) | |
tree | b9d1671fd4a9bfef4395027e981cbc72724e4d66 | |
parent | 2b23b5564921acce1633f369448c2420ace1b371 (diff) | |
download | freebsd-ports-gnome-45e56efe9d1fc3025e5b24c79d7b4ab74946fd6e.tar.gz freebsd-ports-gnome-45e56efe9d1fc3025e5b24c79d7b4ab74946fd6e.tar.zst freebsd-ports-gnome-45e56efe9d1fc3025e5b24c79d7b4ab74946fd6e.zip |
misc/mc: re-add small patch that was deleted in r369133
Change:
save/restore the sub-shell's screen on Ctrl+O and/or command execution
PR: 194627
Submitted by: andriys@gmail.com
-rw-r--r-- | misc/mc/Makefile | 2 | ||||
-rw-r--r-- | misc/mc/files/patch-lib__tty__win.c | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/misc/mc/Makefile b/misc/mc/Makefile index b560d0a9e6eb..e7b45738ac4c 100644 --- a/misc/mc/Makefile +++ b/misc/mc/Makefile @@ -3,7 +3,7 @@ PORTNAME= mc PORTVERSION= 4.8.13 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc shells MASTER_SITES= http://ftp.midnight-commander.org/ \ http://ftp.osuosl.org/pub/midnightcommander/ \ diff --git a/misc/mc/files/patch-lib__tty__win.c b/misc/mc/files/patch-lib__tty__win.c index 3aafff6bf4b5..4e497178418b 100644 --- a/misc/mc/files/patch-lib__tty__win.c +++ b/misc/mc/files/patch-lib__tty__win.c @@ -1,5 +1,14 @@ --- 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) |