Skip to content

Commit 23b385b

Browse files
mijoharaschrisdone
authored andcommitted
Additional fix for ghci prompt inferior-haskell-mode
This is a fix for [this issue](#257) which is conceptually the same as [this older issue](#176)
1 parent 8fbc5f6 commit 23b385b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inf-haskell.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ This will either look for a Cabal file or a \"module\" statement in the file."
119119
:group 'inferior-haskell
120120
(set (make-local-variable 'comint-prompt-regexp)
121121
;; Whay the backslash in [\\._[:alnum:]]?
122-
"^\\*?[[:upper:]][\\._[:alnum:]]*\\(?: \\*?[[:upper:]][\\._[:alnum:]]*\\)*> \\|^λ?> $")
122+
"^\\*?[[:upper:]][\\._[:alnum:]]*\\(?: \\*?[[:upper:]][\\._[:alnum:]]*\\)*\\( λ\\)?> \\|^λ?> $")
123123
(set (make-local-variable 'comint-input-autoexpand) nil)
124124
(add-hook 'comint-preoutput-filter-functions
125125
'inferior-haskell-send-decl-post-filter)

0 commit comments

Comments
 (0)