Skip to content

Commit

Permalink
Re-fix interaction (revert commit 28fc860)
Browse files Browse the repository at this point in the history
  • Loading branch information
omelkonian committed Feb 29, 2024
1 parent e55902f commit 102582d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,6 @@ isInteractive = do
main = do
-- Issue #201: disable backend when run in interactive mode
isInt <- isInteractive
runAgda [Backend backend | not isInt]
if isInt
then runAgda [Backend backend{isEnabled = const False}]
else runAgda [Backend backend]

0 comments on commit 102582d

Please sign in to comment.