2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

Use number of tty columns that is passed in user_info instead of

getting it directly in the lbuf code.
This commit is contained in:
Todd C. Miller
2010-03-17 21:25:32 -04:00
parent d5ae4c7d87
commit 038ec569de
7 changed files with 26 additions and 42 deletions

View File

@@ -65,6 +65,8 @@ struct sudo_user {
int ngroups;
uid_t uid;
uid_t gid;
int lines;
int cols;
GETGROUPS_T *groups;
struct list_member *env_vars;
#ifdef HAVE_SELINUX