diff options
author | 2018-12-20 12:32:36 -0800 | |
---|---|---|
committer | 2018-12-23 12:08:03 +0100 | |
commit | 82b0296964d58e7029dc3775f58abe7a7fd51ec8 (patch) | |
tree | fd9867fc880bb08e1d253e0e7098019a06de9911 /protocols/meson.build | |
parent | swaylock: Clear password buffer on Ctrl-C (diff) | |
download | sway-82b0296964d58e7029dc3775f58abe7a7fd51ec8.tar.gz sway-82b0296964d58e7029dc3775f58abe7a7fd51ec8.tar.zst sway-82b0296964d58e7029dc3775f58abe7a7fd51ec8.zip |
swaylock: Submit password on Ctrl-D
Ctrl-D functions as EOF in most cases on the terminal. login(1) & many other
programs check the password on EOF, same as Enter. To make behavior consistent,
have swaylock submit the password on Ctrl-D.
This commit moves the handling for Enter into its own static function, which is
now also called on Ctrl-D.
Diffstat (limited to 'protocols/meson.build')
0 files changed, 0 insertions, 0 deletions