summaryrefslogtreecommitdiff
path: root/loop.c
diff options
context:
space:
mode:
authorMilkey Mouse <milkeymouse@meme.institute>2018-12-20 12:32:36 -0800
committeremersion <contact@emersion.fr>2018-12-23 12:08:03 +0100
commit51838df9162fc3173538187c2b12f31fc35dcfb1 (patch)
treed4288dcc0b3f6c04979139e35105f08861820821 /loop.c
parent4363430d8d4648d4e3c69f92f8f7cb40560aa2d5 (diff)
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 'loop.c')
0 files changed, 0 insertions, 0 deletions