mirror of
https://github.com/tmate-io/tmate.git
synced 2025-04-10 02:39:00 +02:00
Wrap some long lines.
This commit is contained in:
parent
ada75af199
commit
c3b2e5eed3
@ -528,7 +528,8 @@ const struct options_table_entry window_options_table[] = {
|
|||||||
|
|
||||||
{ .name = "automatic-rename-format",
|
{ .name = "automatic-rename-format",
|
||||||
.type = OPTIONS_TABLE_STRING,
|
.type = OPTIONS_TABLE_STRING,
|
||||||
.default_str = "#{?pane_in_mode,[tmux],#{pane_current_command}}#{?pane_dead,[dead],}"
|
.default_str = "#{?pane_in_mode,[tmux],#{pane_current_command}}"
|
||||||
|
"#{?pane_dead,[dead],}"
|
||||||
},
|
},
|
||||||
|
|
||||||
{ .name = "c0-change-trigger",
|
{ .name = "c0-change-trigger",
|
||||||
|
@ -506,7 +506,8 @@ tty_term_ptr1(struct tty_term *term, enum tty_code_code code, const void *a)
|
|||||||
}
|
}
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
tty_term_ptr2(struct tty_term *term, enum tty_code_code code, const void *a, const void *b)
|
tty_term_ptr2(struct tty_term *term, enum tty_code_code code, const void *a,
|
||||||
|
const void *b)
|
||||||
{
|
{
|
||||||
return (tparm((char *) tty_term_string(term, code), a, b));
|
return (tparm((char *) tty_term_string(term, code), a, b));
|
||||||
}
|
}
|
||||||
|
3
tty.c
3
tty.c
@ -388,7 +388,8 @@ tty_putcode_ptr1(struct tty *tty, enum tty_code_code code, const void *a)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
tty_putcode_ptr2(struct tty *tty, enum tty_code_code code, const void *a, const void *b)
|
tty_putcode_ptr2(struct tty *tty, enum tty_code_code code, const void *a,
|
||||||
|
const void *b)
|
||||||
{
|
{
|
||||||
if (a != NULL && b != NULL)
|
if (a != NULL && b != NULL)
|
||||||
tty_puts(tty, tty_term_ptr2(tty->term, code, a, b));
|
tty_puts(tty, tty_term_ptr2(tty->term, code, a, b));
|
||||||
|
Loading…
Reference in New Issue
Block a user