1
0
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:
Dawid Dziurla 2020-10-14 12:40:52 +02:00
parent d2ea5dd8b7
commit 5669cc0002
No known key found for this signature in database
GPG Key ID: 7B6D8368172E9B0B

View File

@ -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() {