glow icon indicating copy to clipboard operation
glow copied to clipboard

Glow is not rendered when it is assigned (in PowerShell)

Open StartAutomating opened this issue 2 years ago • 4 comments
trafficstars

Describe the bug

Glow is not rendered when it is assigned in PowerShell.

Setup Please complete the following information along with version numbers, if applicable.

  • OS : Windows
  • Shell : PowerShell
  • Locale : en-us

To Reproduce Steps to reproduce the behavior:

"# Hello"| glow # works
$helloGlow =  "# Hello"| glow # returns "# Hello"

This blocks https://github.com/StartAutomating/Posh/issues/227

StartAutomating avatar Aug 25 '23 19:08 StartAutomating

I had a similar issue where I wanted to use glow output as a preview for fzf, or piping to something like glow ... | cat.

It seems like you can force rendering with specifying a style like this: glow -s dark ... | cat

outofrange avatar May 10 '24 15:05 outofrange

Same as #545 ?

korpa avatar Jun 10 '24 06:06 korpa

$x = "# Hello" | glow --style auto; $x

works too.

mattcargile avatar Jul 05 '24 23:07 mattcargile

$x = "# Hello" | glow --style auto; $x

works too.

Good to know! Feel free to file an issue or PR in either EZOut or Posh

StartAutomating avatar Jul 06 '24 18:07 StartAutomating