From eff21ee2ce1fdb4328d71d801352ec25f4e457ff Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Wed, 2 Apr 2025 18:49:15 +0800 Subject: feat: ftxui (#17) * ready for merge rm sum random ocmments first and https://github.com/ArthurSonzogni/FTXUI/issues/1024 but still, ready for merge since we can't do anything on our end * style: clang-tidy * ci * ci * style: clang-tidy * fix * fix: scroll https://github.com/ArthurSonzogni/git-tui/blob/master/src/scroller.cpp * focus * update todo * style: clang-format * update todo * sticky scroll * update todxo * smol fix need event to update screen. so we just give event when IO updates * style: clang-format --------- Co-authored-by: github-actions[bot] --- src/chatManager.hpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/chatManager.hpp') diff --git a/src/chatManager.hpp b/src/chatManager.hpp index 084c002..0f423f7 100644 --- a/src/chatManager.hpp +++ b/src/chatManager.hpp @@ -16,9 +16,6 @@ class CChatManager { void newMessage(const SMessage &msg); std::string fmtBroadcastMessage(const SMessage &msg); - const std::vector &getChat() const; - - private: - std::vector m_vMessages; + std::vector getChat() const; }; inline std::unique_ptr g_pChatManager; -- cgit v1.2.3