mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-02-25 18:55:28 -06:00
gui: fix go-1.10 compatibility
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user