FreeBSD Bugzilla – Attachment 135802 Details for
Bug 180787
Prevent sysutils/tmux from underlying characters unexpectedly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.27 KB, created by
Julio Merino
on 2013-07-24 02:20:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Julio Merino
Created:
2013-07-24 02:20:00 UTC
Size:
1.27 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 323554) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= tmux > PORTVERSION= 1.8 >+PORTREVISION= 1 > CATEGORIES= sysutils > MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} > >Index: files/patch-tty.c >=================================================================== >--- files/patch-tty.c (revision 0) >+++ files/patch-tty.c (working copy) >@@ -0,0 +1,26 @@ >+$FreeBSD$ >+ >+Apply upstream commit cbee283c26968304b473e2191d2bb5f52208b58d to prevent >+OS X's Terminal.app turning on underlining when the status bar contains >+bold characters. >+ >+--- tty.c >++++ tty.c >+@@ -220,7 +220,7 @@ tty_start_tty(struct tty *tty) >+ tty_puts(tty, "\033[?1000l\033[?1006l\033[?1005l"); >+ >+ if (tty_term_has(tty->term, TTYC_XT)) >+- tty_puts(tty, "\033[c\033[>4;1m\033[?1004h"); >++ tty_puts(tty, "\033[c\033[>4;1m\033[?1004h\033[m"); >+ >+ tty->cx = UINT_MAX; >+ tty->cy = UINT_MAX; >+@@ -283,7 +283,7 @@ tty_stop_tty(struct tty *tty) >+ tty_raw(tty, "\033[?1000l\033[?1006l\033[?1005l"); >+ >+ if (tty_term_has(tty->term, TTYC_XT)) >+- tty_raw(tty, "\033[>4m\033[?1004l"); >++ tty_raw(tty, "\033[>4m\033[?1004l\033[m"); >+ >+ tty_raw(tty, tty_term_string(tty->term, TTYC_RMCUP)); >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 180787
: 135802