minor text cleanup

This commit is contained in:
Harvey Fong 2026-01-07 03:34:20 +00:00
parent 1473719a87
commit be1a42c319

View File

@ -12,10 +12,14 @@ FTXUI is a library that allows you to create text-based user interfaces.
It is a lightweight library that is easy to use and understand. It is a lightweight library that is easy to use and understand.
It is a modern C++ library that provides a functional approach to building terminal applications. It is a modern C++ library that provides a functional approach to building terminal applications.
Ubuntu
![ubuntu](resources/ubuntu.png) ![ubuntu](resources/ubuntu.png)
![macos](resources/macos.png)
![windows](resources/windows.png)
MacOS
![macos](resources/macos.png)
Windows
![windows](resources/windows.png)
# Build # Build
@ -30,10 +34,14 @@ workdir/
``` ```
mkdir workdir && cd workdir mkdir workdir && cd workdir
mkdir FTXUI poomer-ftxui-modal_select && cd FTXUI mkdir FTXUI poomer-ftxui-modal_select && cd FTXUI
## Build ftxui
git clone https://github.com/ArthurSonzogni/FTXUI . git clone https://github.com/ArthurSonzogni/FTXUI .
cmake -B ./build cmake -B ./build
cmake --build ./build -j$(nproc) cmake --build ./build -j$(nproc)
[OPTIONAL] cmake -B ./build -DFTXUI_BUILD_EXAMPLES=ON [OPTIONAL] cmake -B ./build -DFTXUI_BUILD_EXAMPLES=ON
## Build poomer-ftxui-modal_select
cd ../poomer-ftxui-modal_select cd ../poomer-ftxui-modal_select
wget https://github.com/nlohmann/json/releases/download/v3.12.0/json.hpp wget https://github.com/nlohmann/json/releases/download/v3.12.0/json.hpp
git clone https://git.indoodle.com/oomer/poomer-ftxui-modal_select.git . git clone https://git.indoodle.com/oomer/poomer-ftxui-modal_select.git .
@ -60,6 +68,8 @@ cd ../FTXUI
git clone https://github.com/ArthurSonzogni/FTXUI . git clone https://github.com/ArthurSonzogni/FTXUI .
../cmake/bin/cmake -B ./build ../cmake/bin/cmake -B ./build
../cmake/bin/cmake --build ./build -j$(sysctl -n hw.ncpu) ../cmake/bin/cmake --build ./build -j$(sysctl -n hw.ncpu)
# Build poomer-ftxui-modal_select
cd ../poomer-ftxui-modal_select cd ../poomer-ftxui-modal_select
wget https://github.com/nlohmann/json/releases/download/v3.12.0/json.hpp wget https://github.com/nlohmann/json/releases/download/v3.12.0/json.hpp
git clone https://git.indoodle.com/oomer/poomer-ftxui-modal_select.git . git clone https://git.indoodle.com/oomer/poomer-ftxui-modal_select.git .