termio/exec: reorder member since we like alloc on top

This commit is contained in:
Mitchell Hashimoto
2023-12-30 21:46:27 -08:00
parent aef93a5420
commit 134327c1a3

View File

@ -38,17 +38,17 @@ const c = @cImport({
/// correct granularity of events.
const disable_kitty_keyboard_protocol = apprt.runtime == apprt.glfw;
/// The number of milliseconds below which we consider a process
/// exit to be abnormal. This is used to show an error message
/// when the process exits too quickly.
abnormal_runtime_threshold_ms: u32,
/// Allocator
alloc: Allocator,
/// This is the pty fd created for the subcommand.
subprocess: Subprocess,
/// The number of milliseconds below which we consider a process
/// exit to be abnormal. This is used to show an error message
/// when the process exits too quickly.
abnormal_runtime_threshold_ms: u32,
/// The terminal emulator internal state. This is the abstract "terminal"
/// that manages input, grid updating, etc. and is renderer-agnostic. It
/// just stores internal state about a grid.