File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ export function truthy(key: string) {
66}
77
88const copy = process . env [ "OPENCODE_EXPERIMENTAL_DISABLE_COPY_ON_SELECT" ]
9+ const fff = process . env [ "OPENCODE_DISABLE_FFF" ]
910
1011function enabledByExperimental ( key : string ) {
1112 return process . env [ key ] === undefined ? truthy ( "OPENCODE_EXPERIMENTAL" ) : truthy ( key )
@@ -30,7 +31,7 @@ export const Flag = {
3031 OPENCODE_FAKE_VCS : process . env [ "OPENCODE_FAKE_VCS" ] ,
3132 OPENCODE_SERVER_PASSWORD : process . env [ "OPENCODE_SERVER_PASSWORD" ] ,
3233 OPENCODE_SERVER_USERNAME : process . env [ "OPENCODE_SERVER_USERNAME" ] ,
33- OPENCODE_DISABLE_FFF : truthy ( "OPENCODE_DISABLE_FFF" ) ,
34+ OPENCODE_DISABLE_FFF : fff === undefined ? process . platform === "win32" : truthy ( "OPENCODE_DISABLE_FFF" ) ,
3435
3536 // Experimental
3637 OPENCODE_EXPERIMENTAL_FILEWATCHER : Config . boolean ( "OPENCODE_EXPERIMENTAL_FILEWATCHER" ) . pipe (
You can’t perform that action at this time.
0 commit comments