Skip to content

Fix out-of-order session startup. #887

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 18, 2015
Merged

Conversation

cmears
Copy link
Contributor

@cmears cmears commented Sep 17, 2015

Previously the responses to the startup commands could be delayed,
arriving so late that they appeared to be in response to later
commands (e.g. a :load). By setting the prompt last, only one prompt
marker will be sent for the whole startup procedure.

Should fix issue #882.

Previously the responses to the startup commands could be delayed,
arriving so late that they appeared to be in response to later
commands (e.g. a :load).  By setting the prompt last, only one prompt
marker will be sent for the whole startup procedure.
gracjan added a commit that referenced this pull request Sep 18, 2015
Fix out-of-order session startup.
@gracjan gracjan merged commit 56a1c10 into haskell:master Sep 18, 2015
@gracjan
Copy link
Contributor

gracjan commented Sep 18, 2015

I've merged this because it is better than the version before.

The correct way to do this is to use ghci multi line capabilities. Can you look into this?

@cmears
Copy link
Contributor Author

cmears commented Sep 19, 2015

Thanks for merging this. I'm happy to look more into this, but I'm not sure what you mean. If I understand it right, ghci's multiline input is for splitting one big command over several lines, but what we want is to send several independent commands in one line. I don't think ghci supports that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants