diff options
author | Kurt Jaeger <pi@FreeBSD.org> | 2014-12-09 12:03:13 +0000 |
---|---|---|
committer | Kurt Jaeger <pi@FreeBSD.org> | 2014-12-09 12:03:13 +0000 |
commit | 30c08bc033532516f19d3d5f690edbc39745f33b (patch) | |
tree | b9d1671fd4a9bfef4395027e981cbc72724e4d66 /misc/mc/files/patch-lib__tty__win.c | |
parent | Add gimp MASTER_SITES block. (diff) |
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
Notes
Notes:
svn path=/head/; revision=374372
Diffstat (limited to 'misc/mc/files/patch-lib__tty__win.c')
-rw-r--r-- | misc/mc/files/patch-lib__tty__win.c | 9 |
1 files changed, 9 insertions, 0 deletions
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) |