-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Menuconfig Implementation and auto-qemu refactoring (#44)
* unify the chardev backend definitions * add --dry option for dry-running * allow supply extra raw qemu options * implement ncurses based tui framework * basic lunamenu framework built on top libtui * (libtui) add scrollable, list, textbox * (menu) add listview, dialogue * interface LunaConfig into menuconfig * remove flickering when new context being added and redrawn * add ability to navigate, edit the config node * adjust the layout parameters * some refactors * add help dialogue * layout refinement * add <BACKSPACE> as hot key to navigate up level * add confirmation dialogue for exiting * refactors * add user friendly alias to LConfig terms * fix the focusing problem with textbox * bypass the configuration for user program generation * bypass the showing of config view during usr program generation, use default value instead * house keeping stuff * add terminal dimension check and fallback to prompt based * replenish the help messages * fix: udiv64 is not used when doing u64 division
- Loading branch information
Showing
20 changed files
with
2,259 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,25 @@ | ||
include("uart") | ||
|
||
@Collection | ||
@Collection("Character Devices") | ||
def char_device(): | ||
""" Controlling support of character devices """ | ||
|
||
add_to_collection(hal) | ||
|
||
@Term | ||
@Term("VGA 80x25 text-mode console") | ||
def vga_console(): | ||
""" Enable VGA console device (text mode only) """ | ||
|
||
type(bool) | ||
default(True) | ||
|
||
@Term | ||
@Term("VGA character game device") | ||
def chargame_console(): | ||
""" Enable VGA Charactor Game console device (text mode only) """ | ||
""" | ||
Enable VGA Charactor Game console device (text mode only) | ||
|
||
You normally don't need to include this, unless you want some user space fun ;) | ||
""" | ||
|
||
type(bool) | ||
default(False) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.