From d758fc8dc647a12c1bf1b1c1aa5893f92e4daf91 Mon Sep 17 00:00:00 2001
From: xDMPx <57721731+xDMPx@users.noreply.github.com>
Date: Tue, 13 May 2025 00:06:09 +0200
Subject: [PATCH] Fix incorrect positioning and start symbol of second title
 introduced in 2538d89ed97bd98b8c092ca73ec75be7db888467

---
 src/btop_draw.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/btop_draw.cpp b/src/btop_draw.cpp
index 2608e0333..850a6c45a 100644
--- a/src/btop_draw.cpp
+++ b/src/btop_draw.cpp
@@ -293,7 +293,7 @@ namespace Draw {
 		}
 		if (not title2.empty()) {
 			out += fmt::format(
-				"{}{}{}{}{}{}{}{}{}", Mv::to(y, x + 2), Symbols::title_left, Fx::b, numbering, Theme::c("title"), title2, Fx::ub,
+				"{}{}{}{}{}{}{}{}{}", Mv::to(y + height - 1, x + 2), Symbols::title_left_down, Fx::b, numbering, Theme::c("title"), title2, Fx::ub,
 				line_color, Symbols::title_right_down
 			);
 		}
