On Mon, Feb 17, 2014 at 16:51:32 +0000, Nicholas Marriott wrote:
> Right but that commit changes a lot. What if you don't revert it but
> revert the two xterm-keys partial fixes? Last two or so changes to
> xterm-keys.c and tty-keys.c,  I can't look up thm now but they should
> obviously mention partial keys.

Maybe you're thinking of a different commit? The one which I reverted in full:

commit f52eac62259c431daac84ddb6c2a5b7ebd528c2c
Author: nicm <nicm>
Date:   Sun Oct 20 09:37:50 2013 +0000

    Don't turn on modifyOtherKeys by default, it is annoying if tmux is
    killed and it's left on and we can't turn it on and off like we do for
    attributes. It's not hard to enable in .Xresources or .Xdefaults anyway.

diff --git a/tty.c b/tty.c
index c989aaa..53b415f 100644
--- a/tty.c
+++ b/tty.c
@@ -224,7 +224,7 @@ tty_start_tty(struct tty *tty)
                        tty->flags |= TTY_FOCUS;
                        tty_puts(tty, "\033[?1004h");
                }
-               tty_puts(tty, "\033[c\033[>4;1m\033[m");
+               tty_puts(tty, "\033[c");
        }

        tty->cx = UINT_MAX;
@@ -292,7 +292,6 @@ tty_stop_tty(struct tty *tty)
                        tty->flags &= ~TTY_FOCUS;
                        tty_puts(tty, "\033[?1004l");
                }
-               tty_raw(tty, "\033[>4m\033[m");
        }

        tty_raw(tty, tty_term_string(tty->term, TTYC_RMCUP));

--Ben

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to