From 8e618812ac591f65b25090fd5003d59b8b26cc9e Mon Sep 17 00:00:00 2001 From: Markus Gans Date: Wed, 26 Dec 2018 23:39:15 +0100 Subject: [PATCH] Bugfix in FTermDetection::getXTermColorName --- src/ftermdetection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ftermdetection.cpp b/src/ftermdetection.cpp index c4fb81b5..cd17c098 100644 --- a/src/ftermdetection.cpp +++ b/src/ftermdetection.cpp @@ -523,7 +523,7 @@ const FString FTermDetection::getXTermColorName (int color) int stdin_no = FTermios::getStdIn(); char temp[512] = { }; - std::fprintf (stdout, OSC "4;%3d;?" BEL, color); // get color + std::fprintf (stdout, OSC "4;%d;?" BEL, color); // get color std::fflush(stdout); FD_ZERO(&ifds);