summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-07-05 12:27:25 +0100
committerBen Gamari <ben@smart-cactus.org>2022-07-14 14:02:08 -0400
commit41615501ae9acf54aea1929d6492b40e483348a2 (patch)
treea16fea4ec41dca943049b57d14758fc9b7073cc0
parenta463659cf149ac23f53fb33731f7abdbd6a22f64 (diff)
downloadhaskell-41615501ae9acf54aea1929d6492b40e483348a2.tar.gz
Enable :edit command in ghci multi-mode.
This works after the last change to isLoaded. Ticket #20888 (cherry picked from commit 456e477225908b300dbc5359d64b7a601ac82e5a)
-rw-r--r--ghc/GHCi/UI.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/GHCi/UI.hs b/ghc/GHCi/UI.hs
index 2917da13f3..2c399f02f1 100644
--- a/ghc/GHCi/UI.hs
+++ b/ghc/GHCi/UI.hs
@@ -212,7 +212,7 @@ ghciCommands = map mkCmd [
("delete", keepGoing deleteCmd, noCompletion),
("disable", keepGoing disableCmd, noCompletion),
("doc", keepGoing' docCmd, completeIdentifier),
- ("edit", keepGoing' editFile, completeFilename),
+ ("edit", keepGoingMulti' editFile, completeFilename),
("enable", keepGoing enableCmd, noCompletion),
("etags", keepGoing createETagsFileCmd, completeFilename),
("force", keepGoing forceCmd, completeExpression),