From dcaa58d14fa0a626534e80e2cae741d36d01ac1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Sat, 30 Apr 2022 17:34:16 +0200 Subject: [PATCH] POC: Pick up pillar_focus attribute --- R/tbl-format.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/R/tbl-format.R b/R/tbl-format.R index d0a2d5477..ff147dda6 100644 --- a/R/tbl-format.R +++ b/R/tbl-format.R @@ -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)