From a341f8b56f160958027bb565a80693efd9aded61 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 9 Jul 2025 11:48:40 +0530 Subject: [PATCH] Nicer error message --- kittens/choose_fonts/graphics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kittens/choose_fonts/graphics.go b/kittens/choose_fonts/graphics.go index 6ec71cb84..b9c7b0edf 100644 --- a/kittens/choose_fonts/graphics.go +++ b/kittens/choose_fonts/graphics.go @@ -83,7 +83,7 @@ func (g *graphics_manager) display_image(slot int, path string, img_width, img_h func (g *graphics_manager) on_response(gc *graphics.GraphicsCommand) (err error) { if gc.ResponseMessage() != "OK" { - return fmt.Errorf("Failed to load image with error: %s", gc.ResponseMessage()) + return fmt.Errorf("Failed to load image with error: %s\n\nNote that the choose-fonts kitten does not work over SSH as it is meant to select a locally available font to use in kitty.", gc.ResponseMessage()) } for _, img := range g.images { if img.image_number == gc.ImageNumber() {