| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
This patch implements input dialog boxes. This required some
refactoring in the dialog backend to allow additional arguments after
the width and the height.
|
|
|
|
|
|
|
| |
So far it is hard to write unit tests for this crate as we don’t have
much logic. The existing tests are usage examples, therefore they are
moved to the examples directory. They can be run with `cargo run
--example <name>`.
|
|
|
|
|
|
|
|
| |
dialog(1) uses stdin to display the dialog boxes and prints output to
stderr (if applicable). This patch changes the command invocation in
the Dialog backend to capture stderr. stdin and stdout are inherited
from the main process so that dialog can display the dialog boxes and
receive user input.
|
|
|
|
|
|
| |
This patch adds a first dialog box type, message boxes, and a first
backend, the dialog(1) tool. It does not yet address the problems of
output handling and backend selection.
|
|
|