Skip to content

Conversation

mitchcapper
Copy link

@mitchcapper mitchcapper commented Apr 23, 2023

First you are a crazy mad person with far too much love for bash;)

Second, this script works on linux (ubuntu) and windows (msys but native windows highlight.exe) but I ran into an issue.

grepp/grep+

Line 1001 in cfc8148

if IFS=';' read -r -d '\' raw_bg; then

this command that looks like its trying to read the background color from the terminal hangs on both platforms for me.

As I am not nearly as smart as you however, I can't figure out exactly how it should work to actually fix it. Instead here is a quick 1 second timeout to prevent the hang for those of us who don't have the slash incoming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant