Skip to content

Commit daa3a7d

Browse files
committed
fbio.bi IsRedirected(): Default to checking stdout
instead of checking stdin by default - seems more logical & more commonly needed.
1 parent fb45e4b commit daa3a7d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

inc/fbio.bi

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
#pragma once
22

3-
declare function IsRedirected alias "fb_IsRedirected"(byval is_input as long = -1) as long
3+
'' IsRedirected(FALSE) = check stdout
4+
'' IsRedirected(TRUE) = check stdin
5+
declare function IsRedirected alias "fb_IsRedirected"(byval is_input as long = 0) as long

0 commit comments

Comments
 (0)