aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/cursor.c
diff options
context:
space:
mode:
authorLibravatar Milkey Mouse <milkeymouse@meme.institute>2018-12-20 12:32:36 -0800
committerLibravatar emersion <contact@emersion.fr>2018-12-23 12:08:03 +0100
commit82b0296964d58e7029dc3775f58abe7a7fd51ec8 (patch)
treefd9867fc880bb08e1d253e0e7098019a06de9911 /sway/input/cursor.c
parentswaylock: Clear password buffer on Ctrl-C (diff)
downloadsway-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 'sway/input/cursor.c')
0 files changed, 0 insertions, 0 deletions