diff --git a/config.ld b/config.ld new file mode 100644 index 0000000..91fc596 --- /dev/null +++ b/config.ld @@ -0,0 +1,12 @@ +project = 'LTUI' +description = 'A cross-platform terminal ui library based on Lua' +full_description = [[ +This framework originated from the requirements of graphical menu configuration in [xmake](https://github.com/xmake-io/xmake). +Similar to the linux kernel's menuconf to configure the compilation parameters, so using curses and lua to implement a cross-platform character terminal ui library. + +Refer to kconfig-frontends for style rendering. Of course, users can customize different ui styles. +]] +file = 'src/ltui' +no_summary = true +no_return_or_parms = true +format = 'discount' diff --git a/src/ltui.lua b/src/ltui.lua index 63d2147..4a27cab 100644 --- a/src/ltui.lua +++ b/src/ltui.lua @@ -1,5 +1,4 @@ - ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/action.lua b/src/ltui/action.lua index 544f377..20618a7 100644 --- a/src/ltui/action.lua +++ b/src/ltui/action.lua @@ -1,4 +1,4 @@ ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/application.lua b/src/ltui/application.lua index a145823..54085af 100644 --- a/src/ltui/application.lua +++ b/src/ltui/application.lua @@ -1,4 +1,4 @@ ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/border.lua b/src/ltui/border.lua index 79439f0..b2a5582 100644 --- a/src/ltui/border.lua +++ b/src/ltui/border.lua @@ -1,4 +1,4 @@ ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/boxdialog.lua b/src/ltui/boxdialog.lua index 8e6691a..1b1be6c 100644 --- a/src/ltui/boxdialog.lua +++ b/src/ltui/boxdialog.lua @@ -1,4 +1,4 @@ ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/button.lua b/src/ltui/button.lua index 077b469..56ae916 100644 --- a/src/ltui/button.lua +++ b/src/ltui/button.lua @@ -1,4 +1,4 @@ ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/canvas.lua b/src/ltui/canvas.lua index 6c02e3b..6d2ef38 100644 --- a/src/ltui/canvas.lua +++ b/src/ltui/canvas.lua @@ -1,4 +1,4 @@ ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/choicebox.lua b/src/ltui/choicebox.lua index 82ef7bd..e9b0bb7 100644 --- a/src/ltui/choicebox.lua +++ b/src/ltui/choicebox.lua @@ -1,4 +1,4 @@ ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/choicedialog.lua b/src/ltui/choicedialog.lua index 7aaea22..0061f74 100644 --- a/src/ltui/choicedialog.lua +++ b/src/ltui/choicedialog.lua @@ -1,4 +1,4 @@ ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/curses.lua b/src/ltui/curses.lua index bafa0d3..3ee6da1 100644 --- a/src/ltui/curses.lua +++ b/src/ltui/curses.lua @@ -1,4 +1,4 @@ ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/desktop.lua b/src/ltui/desktop.lua index 88d8058..c8c491e 100644 --- a/src/ltui/desktop.lua +++ b/src/ltui/desktop.lua @@ -1,4 +1,4 @@ ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/dialog.lua b/src/ltui/dialog.lua index af0e7e4..ca01138 100644 --- a/src/ltui/dialog.lua +++ b/src/ltui/dialog.lua @@ -1,4 +1,4 @@ ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/event.lua b/src/ltui/event.lua index 91fe658..d9ddaf8 100644 --- a/src/ltui/event.lua +++ b/src/ltui/event.lua @@ -1,4 +1,4 @@ ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/inputdialog.lua b/src/ltui/inputdialog.lua index 1e055aa..d772c00 100644 --- a/src/ltui/inputdialog.lua +++ b/src/ltui/inputdialog.lua @@ -1,4 +1,4 @@ ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/label.lua b/src/ltui/label.lua index c2efef1..2e33f05 100644 --- a/src/ltui/label.lua +++ b/src/ltui/label.lua @@ -1,4 +1,4 @@ ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/mconfdialog.lua b/src/ltui/mconfdialog.lua index 4954812..21cb2d5 100644 --- a/src/ltui/mconfdialog.lua +++ b/src/ltui/mconfdialog.lua @@ -1,4 +1,4 @@ ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/menubar.lua b/src/ltui/menubar.lua index 2c886c3..466775a 100644 --- a/src/ltui/menubar.lua +++ b/src/ltui/menubar.lua @@ -1,4 +1,4 @@ ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/menuconf.lua b/src/ltui/menuconf.lua index 24ba4dc..1f9983e 100644 --- a/src/ltui/menuconf.lua +++ b/src/ltui/menuconf.lua @@ -1,4 +1,4 @@ ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/object.lua b/src/ltui/object.lua index 43363c8..88f6922 100644 --- a/src/ltui/object.lua +++ b/src/ltui/object.lua @@ -1,4 +1,4 @@ ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/panel.lua b/src/ltui/panel.lua index 30b549a..e622440 100644 --- a/src/ltui/panel.lua +++ b/src/ltui/panel.lua @@ -1,4 +1,4 @@ ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/point.lua b/src/ltui/point.lua index efd6cef..2296c91 100644 --- a/src/ltui/point.lua +++ b/src/ltui/point.lua @@ -1,4 +1,4 @@ ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/program.lua b/src/ltui/program.lua index 72c148f..7046274 100644 --- a/src/ltui/program.lua +++ b/src/ltui/program.lua @@ -1,4 +1,4 @@ ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/rect.lua b/src/ltui/rect.lua index 53b69ad..0a4d903 100644 --- a/src/ltui/rect.lua +++ b/src/ltui/rect.lua @@ -1,5 +1,4 @@ - ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/statusbar.lua b/src/ltui/statusbar.lua index 3c10104..1f6c43d 100644 --- a/src/ltui/statusbar.lua +++ b/src/ltui/statusbar.lua @@ -1,4 +1,4 @@ ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/textarea.lua b/src/ltui/textarea.lua index 8fb5eb0..b87f415 100644 --- a/src/ltui/textarea.lua +++ b/src/ltui/textarea.lua @@ -1,4 +1,4 @@ ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/textdialog.lua b/src/ltui/textdialog.lua index fa2eec4..d8fca4e 100644 --- a/src/ltui/textdialog.lua +++ b/src/ltui/textdialog.lua @@ -1,4 +1,4 @@ ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/textedit.lua b/src/ltui/textedit.lua index 223f447..4d04f1b 100644 --- a/src/ltui/textedit.lua +++ b/src/ltui/textedit.lua @@ -1,4 +1,4 @@ ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/view.lua b/src/ltui/view.lua index 12c498d..d8e46b9 100644 --- a/src/ltui/view.lua +++ b/src/ltui/view.lua @@ -1,4 +1,4 @@ ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. diff --git a/src/ltui/window.lua b/src/ltui/window.lua index c0f3a24..7be4888 100644 --- a/src/ltui/window.lua +++ b/src/ltui/window.lua @@ -1,4 +1,4 @@ ---!A cross-platform terminal ui library based on Lua +---A cross-platform terminal ui library based on Lua -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License.