gum icon indicating copy to clipboard operation
gum copied to clipboard

Combining format and style doesn't work as expected

Open MindfulMinun opened this issue 1 year ago • 0 comments

Describe the bug It's impossible to combine the output of gum format with gum style. The latter overrides the styles set by the first.

To Reproduce Steps to reproduce the behavior:

gum style --border=rounded --padding="0 1" "$(gum format -t template '{{ Underline "Hello world" }}')"

Expected behavior I expected the text "Hello world" to be underlined, while also surrounded by a border.

Screenshots image

Desktop (please complete the following information):

  • OS: Arch Linux
  • Version: gum version 0.13.0 (b0e5f32)

MindfulMinun avatar Jan 06 '24 23:01 MindfulMinun