Ver Fonte

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

Signed-off-by: Guillaume Lours <[email protected]>
Guillaume Lours há 1 ano atrás
pai
commit
11c7a25ae9
1 ficheiros alterados com 1 adições e 0 exclusões
  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()
 	}
 }