update readme

This commit is contained in:
ruki
2018-11-26 22:16:20 +08:00
parent 1949ff93e7
commit c5065e1f20
2 changed files with 12 additions and 0 deletions

View File

@@ -38,6 +38,12 @@ Refer to kconfig-frontends for style rendering. Of course, users can customize d
<img src="https://tboox.org/static/img/ltui/choicebox.png" width="70%" /> <img src="https://tboox.org/static/img/ltui/choicebox.png" width="70%" />
## Installation
```console
$ luarocks install ltui
```
## Build ## Build
We need install the cross-platform build utility [xmake](https://github.com/tboox/xmake) first. We need install the cross-platform build utility [xmake](https://github.com/tboox/xmake) first.

View File

@@ -37,6 +37,12 @@ LTUI是一个基于lua的跨平台字符终端UI界面库。
<img src="https://tboox.org/static/img/ltui/choicebox.png" width="70%" /> <img src="https://tboox.org/static/img/ltui/choicebox.png" width="70%" />
## 安装
```console
$ luarocks install ltui
```
## 编译 ## 编译
我们需要先安装跨平台构建工具:[xmake](https://github.com/tboox/xmake) 我们需要先安装跨平台构建工具:[xmake](https://github.com/tboox/xmake)