tig icon indicating copy to clipboard operation
tig copied to clipboard

tig: Feature Request: Is it possible to restore previous views when exiting from help view ?

Open jaybh opened this issue 11 years ago • 5 comments

Often I end up pressing h instead of j in diff view. But when I press q to go back, I end up having a single diff view, as against, a split main + diff view.

Is that expected/desired behaviour ? Is there a way to fix this ?

Thanks, Jay.

jaybh avatar Oct 12 '14 20:10 jaybh

This is the expected behaviour, which I agree is not optimal. To fix this we'd have to refactor the display management code to keep a proper history of the display states.

Lately, there's been a couple of other requests related to the display management, so ideally the refactoring will help fix all of these.

jonas avatar Oct 13 '14 17:10 jonas

Thank you.

jaybh avatar Oct 15 '14 02:10 jaybh

Going to bump this. History navigation and managing views is currently kind of funky/unintuitive, so it would be great to have something more consistent.

ghost avatar Jul 29 '19 02:07 ghost

I guess being able to undo maximize of the view back to the previous state might belong here...

quite avatar Jun 14 '20 19:06 quite

I'd also very much like to get back to the split status + diff view after exiting maximized diff view. 🙏

bigunyak avatar Oct 29 '20 15:10 bigunyak