static int grub_username_get (char buf[], unsigned buf_size) { unsigned cur_len = 0; int key; while (1) { key = grub_getkey (); if (key == '/n' || key == '/r') break; if (key == '/e') { cur_len = 0; break; } if (key == '/b') { cur_len--;…
No hay comentarios.:
Publicar un comentario