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/scroller.hpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/scroller.hpp (limited to 'src/scroller.hpp') diff --git a/src/scroller.hpp b/src/scroller.hpp new file mode 100644 index 0000000..81a2a6d --- /dev/null +++ b/src/scroller.hpp @@ -0,0 +1,15 @@ +#ifndef SCROLLER_H +#define SCROLLER_H + +#include + +#include "ftxui/component/component_base.hpp" // for Component + +namespace ftxui { +Component Scroller(Component child); +} +#endif /* end of include guard: SCROLLER_H */ + +// Copyright 2021 Arthur Sonzogni. All rights reserved. +// Use of this source code is governed by the MIT license that can be found in +// the LICENSE file. -- cgit v1.2.3