add wait-for-mapped option

This commit is contained in:
valoq 2026-05-28 15:22:37 +02:00
parent 4bf60d0fbc
commit 5b87139670
No known key found for this signature in database
9 changed files with 121 additions and 9 deletions

View file

@ -419,6 +419,15 @@ struct terminal {
pid_t slave;
int ptmx;
/* --wait-for-mapped: deferred slave_spawn() args (#453) */
struct {
bool armed;
int argc;
char **argv;
char **envp;
char *cwd;
} pending_spawn;
struct vt vt;
struct grid *grid;
struct grid normal;
@ -868,6 +877,7 @@ int term_pt_or_px_as_pixels(
void term_window_configured(struct terminal *term);
void term_spawn_pending(struct terminal *term);
void term_damage_rows(struct terminal *term, int start, int end);
void term_damage_rows_in_view(struct terminal *term, int start, int end);