mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Add formats for when window is larger than client, and show offset in
status-right by default when larger.
This commit is contained in:
@ -476,7 +476,9 @@ const struct options_table_entry options_table[] = {
|
||||
{ .name = "status-right",
|
||||
.type = OPTIONS_TABLE_STRING,
|
||||
.scope = OPTIONS_TABLE_SESSION,
|
||||
.default_str = " \"#{=21:pane_title}\" %H:%M %d-%b-%y"
|
||||
.default_str = "#{?window_bigger,"
|
||||
"[#{window_offset_x}#,#{window_offset_y}] ,}"
|
||||
"\"#{=21:pane_title}\" %H:%M %d-%b-%y"
|
||||
},
|
||||
|
||||
{ .name = "status-right-attr",
|
||||
|
Reference in New Issue
Block a user