diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-04-04 11:56:47 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-04-07 16:32:07 +0800 |
| commit | db9ac114621d4ae436e2f5b9d5f6ad556c1fcd80 (patch) | |
| tree | 8deff07af6c04d1f3d7932a9f871908551064c1f /src | |
| parent | 4c904905f5f0667786d4c4b32d150b3d4328cfc2 (diff) | |
Revert "ftxui(logComponent): don't use custom patch to have a min_size but offical way instead"
This reverts commit 4a9232c9bea11750ff5e9b56a75b410eac2f020d.
broke [scroller](https://github.com/ArthurSonzogni/git-tui/blob/master/src/scroller.cpp)
Diffstat (limited to 'src')
| -rw-r--r-- | src/inputManager.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/inputManager.cpp b/src/inputManager.cpp index 702cb34..cc3880b 100644 --- a/src/inputManager.cpp +++ b/src/inputManager.cpp @@ -53,8 +53,6 @@ void CInputManager::updateIO() { void CInputManager::inputLoop() { container = logComponent |= ftxui::Scroller; container = ftxui::ResizableSplitBottom(inputComponent, container, &bottomSize); - // FIXME: doesn't seem to work (https://github.com/ArthurSonzogni/FTXUI/pull/1028#issuecomment-2776497917) - logComponent |= ftxui::size(ftxui::HEIGHT, ftxui::GREATER_THAN, 10); // FIXME: this shit spams TakeFocus(not ideal for power etc reasons) // consider: custom loop, or just only allow focus to be inputComponent somehow @@ -62,7 +60,6 @@ void CInputManager::inputLoop() { inputComponent->TakeFocus(); return false; }); - g_pRenderManager->setRenderer(ftxui::Renderer(container, [this] { return container->Render() | ftxui::border; })); |
