Update README.md

This commit is contained in:
Arthur Sonzogni 2019-01-18 22:45:25 +01:00
parent 01827ea8ce
commit 621adf1a44

View File

@ -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,