diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-03-21 13:39:20 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-03-25 09:39:04 +1100 |
commit | daecdd7c2b678e308b01d9e402c86c06a35b8021 (patch) | |
tree | ef32431a5e9b35e702b75a478d5c19b971ad1aa5 /pkg/gui/gui.go | |
parent | 7c8df28d019c3cbeac19b98a59118db03b1768fa (diff) |
redoing
Diffstat (limited to 'pkg/gui/gui.go')
-rw-r--r-- | pkg/gui/gui.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go index fd4e6bfd4..2805b8416 100644 --- a/pkg/gui/gui.go +++ b/pkg/gui/gui.go @@ -229,6 +229,9 @@ type guiState struct { type UndoState struct { ReflogKey string ReflogIdx int + // this is the index of the most recent reflog entry that the user initiated themselves + // (as opposed to being created by an undo or redo action) + UndoCount int } // for now the split view will always be on |