mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-25 20:27:31 +08:00
Update README.md
This commit is contained in:
parent
01827ea8ce
commit
621adf1a44
@ -7,6 +7,9 @@ A C++ library for making text based user interface.
|
|||||||
* Simple and elegant syntax (in my opinion).
|
* Simple and elegant syntax (in my opinion).
|
||||||
* No dependencies.
|
* No dependencies.
|
||||||
|
|
||||||
|
## Other features
|
||||||
|
* vim navigation friendly (h,j,k,l)
|
||||||
|
|
||||||
## Example:
|
## Example:
|
||||||
~~~cpp
|
~~~cpp
|
||||||
vbox(
|
vbox(
|
||||||
@ -33,8 +36,7 @@ See [Tutorial](./tutorial.md)
|
|||||||
|
|
||||||
## Build using CMake
|
## Build using CMake
|
||||||
~~~bash
|
~~~bash
|
||||||
mkdir build
|
mkdir build && cd build
|
||||||
cd build
|
|
||||||
cmake ..
|
cmake ..
|
||||||
make
|
make
|
||||||
sudo make install
|
sudo make install
|
||||||
@ -59,8 +61,7 @@ main.cpp
|
|||||||
|
|
||||||
int main(int argc, const char *argv[])
|
int main(int argc, const char *argv[])
|
||||||
{
|
{
|
||||||
using namespace ftxui::screen;
|
using namespace ftxui;
|
||||||
using namespace ftxui::dom;
|
|
||||||
auto document =
|
auto document =
|
||||||
hbox(
|
hbox(
|
||||||
text(L"left") | bold,
|
text(L"left") | bold,
|
||||||
|
Loading…
Reference in New Issue
Block a user