Skip to content

Commit

Permalink
POC: Pick up pillar_focus attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Apr 30, 2022
1 parent 191ef43 commit dcaa58d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/tbl-format.R
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ format_tbl <- function(x, width = NULL, ...,
width = width, ...,
n = n,
max_extra_cols = max_extra_cols,
max_footer_lines = max_footer_lines
max_footer_lines = max_footer_lines,
focus = attr(x, "pillar_focus")
)

header <- tbl_format_header(x, setup)
Expand Down

0 comments on commit dcaa58d

Please sign in to comment.