From 8941ddadd4f301c5c7b2d99bb802344b72ee0be9 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 6 Apr 2017 22:35:56 -0700 Subject: [PATCH] config: Specify height/width units (characters) for consoleSize This is pretty clear from the examples like: "consoleSize": { "height": 25, "width": 80 } But examples are not normative, so this commit makes the character units normative. Signed-off-by: W. Trevor King --- config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.md b/config.md index 40d174480..efaf0a0e5 100644 --- a/config.md +++ b/config.md @@ -124,7 +124,7 @@ For Windows, see [mountvol][mountvol] and [SetVolumeMountPoint][set-volume-mount * **`terminal`** (bool, OPTIONAL) specifies whether a terminal is attached to that process, defaults to false. As an example, if set to true on Linux a pseudoterminal pair is allocated for the container process and the pseudoterminal slave is duplicated on the container process's [standard streams][stdin.3]. -* **`consoleSize`** (object, OPTIONAL) specifies the console size of the terminal if attached, containing the following properties: +* **`consoleSize`** (object, OPTIONAL) specifies the console size in characters of the terminal if attached, containing the following properties: * **`height`** (uint, REQUIRED) * **`width`** (uint, REQUIRED) * **`cwd`** (string, REQUIRED) is the working directory that will be set for the executable.