1
I am facing problems when implementing a checkbox with dialog
, on Linux Mint.
What happens is that I use the option --item-help
, the box box mount the checkbox
wrong.
dialog --title 'Seleção dos Componentes' --checklist 'O que você quer instalar?' 0 0 0 syntax 'Arquivos de sintaxe' off mouse 'Suporte a mouse' off color 'Suporte a cores' on beep 'Driver avançado de som' off
The above code works as expected.
But if I add --item-help
, the dialog
simply forget "mouse".
dialog --item-help --title 'Seleção dos Componentes' --checklist 'O que você quer instalar?' 0 0 0 syntax 'Arquivos de sintaxe' off mouse 'Suporte a mouse' off color 'Suporte a cores' on beep 'Driver avançado de som' off
The version of dialog
that I’m using is 1.3-20160209.
The problem was that in the documentation this parameter is not very clear (for me at least). Thanks for the answer.
– Everton da Rosa