cli: add 'nmcli' command for nmcli connection editor configuration

- show/hide status line:  nmcli> nmcli status-line yes | no
- editor prompt color:    nmcli> nmcli prompt-color <0-8>  (0 = normal/without color)
This commit is contained in:
Jiří Klimeš
2013-04-05 23:42:56 +02:00
parent 6f883c310e
commit ca1c0cdaf4
5 changed files with 173 additions and 10 deletions

View File

@@ -327,6 +327,8 @@ nmc_init (NmCli *nmc)
memset (&nmc->print_fields, '\0', sizeof (NmcPrintFields));
nmc->nocheck_ver = FALSE;
nmc->ask = FALSE;
nmc->editor_status_line = FALSE;
nmc->editor_prompt_color = NMC_TERM_COLOR_NORMAL;
}
static void