mirror of
https://github.com/fairyglade/ly.git
synced 2025-12-20 19:24:53 +00:00
cosmetic changes + enter behavior (#126)
* remove trailing whitespace * always submit password on enter Moves the keypress logic for keypresses from if-else statements to switches, adds non-contextual behavior on pressing enter * wrap pam actions and handle errors at on spot * init all of text struct in input_text() This gets rid off valgrind warning on unitialized variables
This commit is contained in:
committed by
nullgemm
parent
95c0077416
commit
9486f05e59
@@ -263,7 +263,7 @@ void config_defaults()
|
||||
config.blank_box = true;
|
||||
config.blank_password = false;
|
||||
config.console_dev = strdup("/dev/console");
|
||||
config.default_input = 2;
|
||||
config.default_input = PASSWORD_INPUT;
|
||||
config.fg = 9;
|
||||
config.hide_borders = false;
|
||||
config.input_len = 34;
|
||||
|
||||
Reference in New Issue
Block a user