mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-01-24 05:36:19 +02:00
gui: fix go-1.10 compatibility
This commit is contained in:
parent
d2ea5dd8b7
commit
5669cc0002
@ -21,7 +21,7 @@ func recordEventsTo() string {
|
||||
}
|
||||
|
||||
func (gui *Gui) timeSinceStart() int64 {
|
||||
return time.Since(gui.StartTime).Milliseconds()
|
||||
return time.Since(gui.StartTime).Nanoseconds() / 1e6
|
||||
}
|
||||
|
||||
func (gui *Gui) replayRecordedEvents() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user