diff options
author | Zejun Wu <watashi@fb.com> | 2018-12-19 02:29:44 (GMT) |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2019-01-06 12:27:09 (GMT) |
commit | 08b8ea2f4f1bbc1c61a7cca03ae7fa8ffb099556 (patch) | |
tree | 239e207e36790d4c68b934f9f1510028ed764b7f | |
parent | b565d418ff5f9501abecf130dafc2b9837460a96 (diff) | |
download | ghc-08b8ea2f4f1bbc1c61a7cca03ae7fa8ffb099556.zip ghc-08b8ea2f4f1bbc1c61a7cca03ae7fa8ffb099556.tar.gz ghc-08b8ea2f4f1bbc1c61a7cca03ae7fa8ffb099556.tar.bz2 |
Respect prompt in GhciSettings
Summary:
This was broken when PromptFunction was introduced that the settings are
ignored and default values are always used.
Test Plan: ./validate
-rw-r--r-- | ghc/GHCi/UI.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ghc/GHCi/UI.hs b/ghc/GHCi/UI.hs index 105324f..2cc055a 100644 --- a/ghc/GHCi/UI.hs +++ b/ghc/GHCi/UI.hs @@ -468,8 +468,8 @@ interactiveUI config srcs maybe_exprs = do GHCiState{ progname = default_progname, args = default_args, evalWrapper = eval_wrapper, - prompt = default_prompt, - prompt_cont = default_prompt_cont, + prompt = defPrompt config, + prompt_cont = defPromptCont config, stop = default_stop, editor = default_editor, options = [], |