diff --git a/internal/shell/fridge/fridge.go b/internal/shell/fridge/fridge.go index 2078578..f88f1c6 100644 --- a/internal/shell/fridge/fridge.go +++ b/internal/shell/fridge/fridge.go @@ -30,8 +30,9 @@ func (f *FridgeShell) Handle(ctx context.Context, sess *shell.SessionContext, rw state := newFridgeState() - // Boot banner. - fmt.Fprint(rw, bootBanner()) + // Boot banner — convert \n to \r\n for terminal display. + banner := strings.ReplaceAll(bootBanner(), "\n", "\r\n") + fmt.Fprint(rw, banner) for { if _, err := fmt.Fprint(rw, "FridgeOS> "); err != nil {