File README.md changed (mode: 100644) (index acbc54f..606ae71) |
1 |
1 |
**libcursedrl**, _2019_ |
**libcursedrl**, _2019_ |
2 |
2 |
|
|
3 |
|
_This file last updated on 24 March, 2019_ |
|
|
3 |
|
_This file last updated on 1 January, 2022_ |
4 |
4 |
|
|
5 |
5 |
### Brief Description ### |
### Brief Description ### |
6 |
6 |
|
|
|
... |
... |
and can change quite a bit in the future. |
20 |
20 |
|
|
21 |
21 |
#### Throw-in library state #### |
#### Throw-in library state #### |
22 |
22 |
|
|
23 |
|
There is no build system and nothing is getting built for the client. To use |
|
24 |
|
it clone the repository (possibly as a submodule) and handle the building with |
|
25 |
|
the build system that's used by the main project. Compile with C++11 enabled |
|
26 |
|
and headers of *libcursed* available under `cursed/` prefix. Obviously link |
|
27 |
|
in *libcursed* and link against `readline`. |
|
|
23 |
|
To use it clone the repository (possibly as a submodule) and handle the building |
|
24 |
|
with the build system that's used by the main project. Compile with C++11 |
|
25 |
|
enabled and headers of *libcursed* available under `cursed/` prefix. Obviously |
|
26 |
|
link in *libcursed* and link against `readline`. |
|
27 |
|
|
|
28 |
|
Alternatively one can use [xmake][xmake] to consume submodule as a |
|
29 |
|
subproject (example assumes it's stored under `libs/`): |
|
30 |
|
``` |
|
31 |
|
add_includedirs("libs") |
|
32 |
|
includes("libs/*/xmake.lua") |
|
33 |
|
``` |
28 |
34 |
|
|
29 |
35 |
### Prerequisites ### |
### Prerequisites ### |
30 |
36 |
|
|
|
... |
... |
resizes the screen while handling input. |
49 |
55 |
[libcursed]: https://code.reversed.top/user/xaizek/libcursed |
[libcursed]: https://code.reversed.top/user/xaizek/libcursed |
50 |
56 |
[curses]: https://en.wikipedia.org/wiki/Curses_(programming_library) |
[curses]: https://en.wikipedia.org/wiki/Curses_(programming_library) |
51 |
57 |
[readline]: https://tiswww.case.edu/php/chet/readline/rltop.html |
[readline]: https://tiswww.case.edu/php/chet/readline/rltop.html |
|
58 |
|
[xmake]: https://xmake.io/ |