diff --git a/src/Commands/TopCommand.php b/src/Commands/TopCommand.php index 60f4178..7775185 100644 --- a/src/Commands/TopCommand.php +++ b/src/Commands/TopCommand.php @@ -32,12 +32,14 @@ public function handle(GuiBuilder $guiBuilder): void $guiBuilder ->exitAlternateScreen() ->showCursor(); - exit(); + exit(1); }); } private function feed(GuiBuilder $guiBuilder): void { + Top::startRecording(); + $guiBuilder ->setRequestSummary(Top::http()) ->setDatabaseSummary(Top::database())