-
Notifications
You must be signed in to change notification settings - Fork 20
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
mail view: moving up/down at top/bottom of list should not "re-open" mail #281
Comments
Do you expect to go to the next mail in the thread? I'm currently not sure what you mean. |
@romanofski I mean, when you're at the top and move UP, or when you're at the end and move DOWN, you should not lose your place (i.e. how far down it you've scrolled) in the currently-open mail. Does this clear it up? |
To reproduce:
|
I had a quick look. The current implementation:
There are a few options:
|
@romanofski surely we can just perform the brick |
@frasertweedale the problem is, that the actions are "too well encapsulated" at this point. For example: Keybinding (V.EvKey (V.KChar 'k') []) (listUp `chain'` displayMail `chain` continue) performs the listUp first and then performs the |
@romanofski OK, so more work is needed then, e.g. a way to "abort" a chain of actions or something like that... just shelve this for now, I'll think about it some more :) |
Is your feature request related to a problem? Please describe.
When you are already at the first/last email in a thread, and you "go to previous/next mail",
you "move" to the same email, and lose your place in the mail.
Describe the solution you'd like
We should detect that the target email is currently-open email, and NOT "re-open" it.
For UX bonus points, maybe we display (temporarily) an "already at first/last mail" message, like mutt does.
The text was updated successfully, but these errors were encountered: