11
This commit is contained in:
1 parent
e6f1776d4f
commit
495e961e53
6 files changed
+966
-40
No files matched your search
@@ -191,6 +191,11 @@ func (m Model) cursorOnFile() (int, bool) {
|
||||
func (m Model) handlePRCommitsKey(msg tea.KeyMsg) (tea.Model, tea.Cmd) {
|
||||
switch msg.String() {
|
||||
case "esc":
|
||||
if m.prCommitsReturn != stateLoading {
|
||||
m.state = m.prCommitsReturn
|
||||
m.prCommitsReturn = stateLoading
|
||||
return m, nil
|
||||
}
|
||||
m.state = stateDetail
|
||||
return m, nil
|
||||
|
||||
|
||||
Reference in new issue
Block a user