Permalink
Browse files

Add an indicator of the active virthualenv into the interactive prompt

  • Loading branch information...
Ben Ford
Ben Ford committed Sep 18, 2012
1 parent 0f2a22b commit 60581588406bce0bf52c67dacc09030ffdd6fc34
Showing with 1 addition and 1 deletion.
  1. +1 −1 haskell-interactive-mode.el
@@ -256,7 +256,7 @@ Key bindings:
"Show a prompt at the end of the buffer."
(with-current-buffer (haskell-session-interactive-buffer session)
(goto-char (point-max))
- (insert (propertize haskell-interactive-prompt
+ (insert (propertize (format "%s%s" (haskell-virthualenv-prompt-prefix) haskell-interactive-prompt)
'face 'haskell-interactive-face-prompt
'read-only t
'rear-nonsticky t

0 comments on commit 6058158

Please sign in to comment.