You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| default |`string`| no | Default value which will automatically be present in the editor |
79
-
| validate |`string => boolean \| string \| Promise<boolean \| string>`| no | On submit, validate the content. When returning a string, it'll be used as the error message displayed to the user. Note: returning a rejected promise, we'll assume a code error happened and crash. |
80
-
| postfix |`string`| no (default to `.txt`) | The postfix of the file being edited. Adding this will add color highlighting to the file content in most editors. |
81
-
| file |[`IFileOptions`](https://github.com/mrkmg/node-external-editor#config-options)| no | Exposes the [`external-editor` package options](https://github.com/mrkmg/node-external-editor#config-options) to configure the temporary file. |
82
-
|waitForUseInput|`boolean`| no (default to `true`) | Open the editor automatically without waiting for the user to press enter. Note that this mean the user will not see the question! So make sure you have a default value that provide guidance if it's unclear what input is expected. |
83
-
| theme |[See Theming](#Theming)| no | Customize look of the prompt. |
| default |`string`| no | Default value which will automatically be present in the editor |
79
+
| validate |`string => boolean \| string \| Promise<boolean \| string>`| no | On submit, validate the content. When returning a string, it'll be used as the error message displayed to the user. Note: returning a rejected promise, we'll assume a code error happened and crash. |
80
+
| postfix |`string`| no (default to `.txt`) | The postfix of the file being edited. Adding this will add color highlighting to the file content in most editors. |
81
+
| file |[`IFileOptions`](https://github.com/mrkmg/node-external-editor#config-options)| no | Exposes the [`external-editor` package options](https://github.com/mrkmg/node-external-editor#config-options) to configure the temporary file. |
82
+
|waitForUserInput|`boolean`| no (default to `true`) | Open the editor automatically without waiting for the user to press enter. Note that this mean the user will not see the question! So make sure you have a default value that provide guidance if it's unclear what input is expected. |
83
+
| theme |[See Theming](#Theming)| no | Customize look of the prompt. |
0 commit comments