Adam Perkowski
Adam Perkowski
You should use `"%b\n"` with every `printf` here. Draft this for now.
Adding another line is easy, but there's an issue, empty space:  It'd be nice to make the Constraint dynamically assign the lines needed.
> is it possible to make it dynamic depending on the screen size ? It is possible to make it dynamic depending on the number of lines provided by `draw_chortcuts`....
I think #440 #442 #443 approach this better. #422 is clearly copying the changes from them into his own implementation.
@hexisXz Please run `cargo xtask docgen` and push the changes. Thanks.
~#374~ #378 & #382 could fix this
> > This will only slow linutil down > > ? This PR is adding another rust dependency, more checks and code that has to be maintained. I just think...
> Getting the inlined superuser check functional would need even more code to maintain, and it would be hard to beat 8 lines of bash except by just unquoting all...
@jeevithakannan2 You can use Rust's `libc` to check current UID. I think it has to be unsafe though. Let me check.
Yeah we currently 0% of Linutil's codebase is unsafe. Would be sad to loose that.