From 732f3e1e1726324aa5848beb896c0b46ac265990 Mon Sep 17 00:00:00 2001 From: Christian Wesselhoeft Date: Mon, 12 Jan 2026 21:46:54 -0700 Subject: [PATCH 1/2] process.nix: Add is_interactive option See: https://f1bonacc1.github.io/process-compose/interactive-processes --- nix/process-compose/settings/process.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nix/process-compose/settings/process.nix b/nix/process-compose/settings/process.nix index d674c03..d96becc 100644 --- a/nix/process-compose/settings/process.nix +++ b/nix/process-compose/settings/process.nix @@ -223,6 +223,16 @@ in - In TUI mode, a local process will be started. ''; }; + is_interactive = mkOption { + type = types.nullOr types.bool; + default = null; + example = true; + description = '' + Interactive processes allow you to interact directly with a running process through the TUI. This is useful for processes that require user input, such as a REPL, a debugger, or a command-line editor. + + When a process is configured as interactive, Process Compose allocates a pseudo-terminal (PTY) for it and allows you to attach to its standard input and output. + ''; + }; is_tty = mkOption { type = types.nullOr types.bool; default = null; From 6ef0d37297f3149d5d6d7c9072d7ee1e71a4810c Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Sun, 21 Jun 2026 12:49:00 -0400 Subject: [PATCH 2/2] docs: Add changelog entry for #112 (is_interactive) --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c5658f..6e75669 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ - #67: Add `ready_log_line` - #226: Add `availability.exit_on_skipped` - #77: Add `is_tty` + - #112: Add `is_interactive` - Notable changes - #58: Obviate IFD by switching to JSON config - Fixes