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 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;