From 88aae9c46e7e2ebb507f6637f52ffd1f292a62c9 Mon Sep 17 00:00:00 2001 From: Nicolas De Loof Date: Wed, 15 Oct 2025 16:48:16 +0200 Subject: [PATCH] support Ctrl+Z to run compose in background Signed-off-by: Nicolas De Loof --- cmd/formatter/shortcut.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/formatter/shortcut.go b/cmd/formatter/shortcut.go index d1c736319..4a5e77473 100644 --- a/cmd/formatter/shortcut.go +++ b/cmd/formatter/shortcut.go @@ -321,6 +321,8 @@ func (lk *LogKeyboard) HandleKeyEvents(ctx context.Context, event keyboard.KeyEv lk.logLevel = NONE // will notify main thread to kill and will handle gracefully lk.signalChannel <- syscall.SIGINT + case keyboard.KeyCtrlZ: + _ = syscall.Kill(0, syscall.SIGSTOP) case keyboard.KeyEnter: newLine() lk.printNavigationMenu()