You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I press Ctrl+c while bfs is printing output (e.g. when operating on a very deep file tree by accident) sometimes my shell prompt turns bold/blue after bfs terminates:
Running printf "\033[m" or tput sgr 0 restores it back to the normal appearance, but perhaps bfs could do this automatically with a SIGINT handler? It's not a big deal, since it's easy enough to reset manually and doesn't happen often. Just an idea really.
The text was updated successfully, but these errors were encountered:
Yeah that's a good point. I already have code like that for cleaning up the -status bar, but it should be used more generally to reset the terminal if colors are enabled.
If I press Ctrl+c while bfs is printing output (e.g. when operating on a very deep file tree by accident) sometimes my shell prompt turns bold/blue after bfs terminates:
Running
printf "\033[m"
ortput sgr 0
restores it back to the normal appearance, but perhaps bfs could do this automatically with aSIGINT
handler? It's not a big deal, since it's easy enough to reset manually and doesn't happen often. Just an idea really.The text was updated successfully, but these errors were encountered: