Răsfoiți Sursa

allow to add empty line in the logs when nav menu activated

Signed-off-by: Guillaume Lours <[email protected]>
Guillaume Lours 1 an în urmă
părinte
comite
11c7a25ae9
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      cmd/formatter/shortcut.go

+ 1 - 0
cmd/formatter/shortcut.go

@@ -348,6 +348,7 @@ func (lk *LogKeyboard) HandleKeyEvents(event keyboard.KeyEvent, ctx context.Cont
 		// will notify main thread to kill and will handle gracefully
 		lk.signalChannel <- syscall.SIGINT
 	case keyboard.KeyEnter:
+		NewLine()
 		lk.printNavigationMenu()
 	}
 }