1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00
Commit Graph

165 Commits

Author SHA1 Message Date
fda9f4ea7a centralise logic for rendering options map 2020-08-23 14:29:18 +10:00
eb5e54e9fd use interface for panel state rather than pointer 2020-08-23 14:29:18 +10:00
2fac2f9f1f WIP 2020-08-23 14:29:18 +10:00
2f5d5034db good progress 2020-08-23 14:29:18 +10:00
9c866fd49c more standardisation 2020-08-23 14:29:18 +10:00
3c87ff4eff WIP: standardising how we render to main 2020-08-23 14:29:18 +10:00
0f7b2c45d7 centralise split main panel code 2020-08-23 14:29:18 +10:00
a12d18146c better logic for taking focus away from popup panels 2020-08-23 14:29:18 +10:00
ac0eedda91 lots more stuff 2020-08-23 14:29:18 +10:00
7f89113245 WIP 2020-08-23 14:29:18 +10:00
c8add47fe7 move cursor to right when using auto prefix 2020-08-16 18:44:39 +10:00
9b7a6934b3 more removing of g 2020-08-15 18:01:43 +10:00
15229bbdab more removing of g and v 2020-08-15 18:01:43 +10:00
63e6eea9ec files view 2020-08-15 18:01:43 +10:00
50d5b9e8e7 status view 2020-08-15 18:01:43 +10:00
cc872b0444 menu view 2020-08-15 18:01:43 +10:00
17b84e09c0 fix remote branches select sig 2020-08-15 18:01:43 +10:00
43f8bae267 fix remotes select sig 2020-08-15 18:01:43 +10:00
b0fe963f8a fix branches select sig 2020-08-15 18:01:43 +10:00
d9fa02c53b clean up interface for popup panels 2020-08-15 18:01:43 +10:00
e73937c2bd more work on new layout functionality 2020-08-13 21:50:23 +10:00
b51ad4fcea softcode cyclable views 2020-08-13 21:50:23 +10:00
771d4b5811 refactor how we handle layouts 2020-08-13 21:50:23 +10:00
845c80721f Decouple escaping from quitting
When a user is not entering text into a prompt, the 'q' key should immediately
quit the application. On the other hand, the 'esc' key should cancel/close/go-back
to the previous context.

If we're at the surface level (nothing to cancel/close) and the user hits the
escape key, the default behaviour is to close the app, however we now have a
`quitOnTopLevelReturn` config key to override this.

I actually think from the beginning we should have made this config option
default to false rather than true which is the default this PR gives it,
but I don't want to anger too many people familiar with the existing behaviour.
2020-07-18 20:00:48 +10:00
36ac764133 fix race condition when scrolling to merge conflict 2020-05-19 18:05:14 +10:00
9eb1cbc514 reset main's origin when cycling views 2020-03-29 02:36:01 +00:00
a8db672ffb refactor gui.go 2020-03-29 11:37:29 +11:00
7876cddf4a remove dead code 2020-03-28 11:59:45 +11:00
29316a528a better documentation 2020-03-28 11:59:45 +11:00
f7add8d788 smarter refreshing for tags and remotes 2020-03-28 11:59:45 +11:00
906a49049e smart refreshing files 2020-03-28 11:59:45 +11:00
61b4bbf74e clean up signature 2020-03-28 11:59:45 +11:00
198d237679 more centralised handling of refreshing 2020-03-28 11:59:45 +11:00
39315ca1e2 use wait groups when refreshing 2020-03-28 11:59:45 +11:00
efb51eee96 more efficient refreshing 2020-03-28 11:59:45 +11:00
fbbd16bd82 use reflogs from state to work out branch recencies 2020-03-28 11:59:45 +11:00
e47ad846c4 big golangci-lint cleanup 2020-03-09 12:23:13 +11:00
f94d0be2c9 refactor the way we render lists 2020-02-25 21:21:07 +11:00
9fd9fd6816 better commit lines in fullscreen mode 2020-02-25 21:21:07 +11:00
46be280c92 support searching in side panels
For now we're just doing side panels, because it will take more work
to support this in the various main panel contexts
2020-02-24 22:18:04 +11:00
dab78c8a63 stop the files panel from stealing focus whenever files are refreshed 2019-12-08 21:27:28 +11:00
3c13229145 add tags panel 2019-11-21 22:07:14 +11:00
3b0cef2ec8 better handling of click events in list views 2019-11-21 22:07:14 +11:00
986abc1e45 support viewing a remote branch 2019-11-21 22:07:14 +11:00
61dac10bb9 support navigating remotes view 2019-11-21 22:07:14 +11:00
8aa1062e06 extract out some logic for list views 2019-11-21 22:07:14 +11:00
7e0a8f235e add contexts to views 2019-11-21 22:07:14 +11:00
131113b065 simplify how the context system works 2019-11-10 22:32:13 +11:00
e85310c0a9 add mouse support 2019-11-10 22:32:13 +11:00
1a38bfb76d do not return focus to commitsFiles view after selecting to start a new patch 2019-11-05 19:22:01 +11:00