This commit is contained in:
Valeria Fadeeva 2023-11-25 03:05:59 +05:00
parent 9d6904f3a5
commit 846b740ec3
2 changed files with 16 additions and 12 deletions

View File

@ -481,9 +481,11 @@ function display_password_callback(prompt_text, bullets) {
line_count = i;
}
if (str_len % line_count > 0) {
if (str_len > LINE_WIDTH) {
if (str_len % LINE_WIDTH > 0) {
line_count = line_count + 1;
}
}
i = 1;
start = 0;

View File

@ -481,9 +481,11 @@ fun display_password_callback(prompt_text, bullets) {
line_count = i;
}
if (str_len % line_count > 0) {
if (str_len > LINE_WIDTH) {
if (str_len % LINE_WIDTH > 0) {
line_count = line_count + 1;
}
}
i = 1;
start = 0;