aboutsummaryrefslogtreecommitdiff
path: root/examples/password.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-06-30 10:53:24 +0000
committerRobin Krahl <robin.krahl@ireas.org>2019-06-30 12:56:21 +0200
commit3e3a2e5394a619807f9f4930263ccf4d3fee269a (patch)
tree7ffe3622d9aa8711f30a1bdcac4f6e8e49f0b0bc /examples/password.rs
parent3b1b083182aa8662815478db092be4358e467a7e (diff)
downloaddialog-rs-3e3a2e5394a619807f9f4930263ccf4d3fee269a.tar.gz
dialog-rs-3e3a2e5394a619807f9f4930263ccf4d3fee269a.tar.bz2
Fix input and password dialogs for zenity backend
Previously, we tried to read the user input from zenity’s stderr although it is written to stdout. This patch changes the zenity backend to read from stdout instead of stderr. It also removes trailing newlines from the user input, as zenity adds a newline when writing the input.
Diffstat (limited to 'examples/password.rs')
0 files changed, 0 insertions, 0 deletions