Skip to content
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

Scroll in haskell-interactive-mode only when at correct positions #1442

Merged
merged 4 commits into from
Oct 26, 2016

Conversation

fice-t
Copy link
Contributor

@fice-t fice-t commented Oct 21, 2016

Adds to the fix for #1438.

It can be useful to determine whether or not the point is at least on
the same line as the prompt.
* Go to the end of a new prompt when the point is on the same line of
that prompt.

* Go to the end of a new result when the point was at the end of the
buffer before inserting that result.
@fice-t fice-t changed the title Scroll more often with nil haskell-interactive-mode-scroll-to-bottom Scroll in haskell-interactive-mode only when at correct positions Oct 23, 2016
@gracjan gracjan merged commit a027594 into haskell:master Oct 26, 2016
@gracjan
Copy link
Contributor

gracjan commented Oct 26, 2016

One option less, great!

If somebody wants to have scroll-to-bottom then they can just put the cursor at the end of the buffer.

@geraldus
Copy link
Contributor

If somebody wants to have scroll-to-bottom then they can just put the cursor at the end of the buffer.

Would it be great to mention this at top of the buffer?

@gracjan
Copy link
Contributor

gracjan commented Oct 26, 2016

This is default behavior in Visual Studio and probably other editors. We can mention it in documentation but we should spare screen real estate for program output.

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.

None yet

3 participants