xaizek / libcursedrl (License: GPLv3+) (since 2019-03-24)
libcursed extension for integration with readline.
Commit 17d766cc7245185e068827b850ea9b2f9d907b4f

Add xmake.lua
Author: xaizek
Author date (UTC): 2021-12-31 23:46
Committer name: xaizek
Committer date (UTC): 2021-12-31 23:46
Parent(s): 3e73f3c585919a946bdf136f64c9ad1ae9945e56
Signing key: 99DC5E4DB05F6BE2
Tree: 06ed02ac7a47bb1bb977b7380b0091c6d40acc20
File Lines added Lines deleted
README.md 13 6
xmake.lua 8 0
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/
File xmake.lua added (mode: 100644) (index 0000000..8eb5515)
1 add_requires("readline")
2
3 target("cursedrl")
4 set_kind("static")
5 set_languages("c++11")
6 add_files("*.cpp")
7 add_packages("readline")
8 on_install(function() end)
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/libcursedrl

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/libcursedrl

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master