Initialize the pty rows/cols based on the values we stored in user_details.
This fixes a minor issue where we would send an extra window size change event the first time the command was suspended.
This commit is contained in:
@@ -107,8 +107,8 @@ struct user_details {
|
||||
const char *shell;
|
||||
GETGROUPS_T *groups;
|
||||
int ngroups;
|
||||
int ts_rows;
|
||||
int ts_cols;
|
||||
int ts_lines;
|
||||
};
|
||||
|
||||
#define CD_SET_UID 0x00001
|
||||
|
Reference in New Issue
Block a user