Skip to content

Commit 4d2a5de

Browse files
committed
docs!: add missing invert
1 parent 1834863 commit 4d2a5de

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Let's start with a dead simple example. We want to send "Hello world" to
3131
</template>
3232
3333
<script>
34-
import VueCommand, { createStdout, textFormatter } from "vue-command";
34+
import VueCommand, { createStdout } from "vue-command";
3535
import "vue-command/dist/vue-command.css";
3636
3737
export default {
@@ -41,7 +41,7 @@ export default {
4141
4242
data: () => ({
4343
commands: {
44-
"hello-world": () => createStdout(textFormatter("Hello world")),
44+
"hello-world": () => createStdout("Hello world"),
4545
},
4646
}),
4747
};
@@ -59,7 +59,7 @@ switch the terminal into fullscreen mode.
5959

6060
```vue
6161
<template>
62-
<div v-show="terminal.isFullscreen" style="height: 100%">
62+
<div v-show="terminal.isFullscreen">
6363
<textarea ref="nano" @keyup.ctrl.x.exact="exit">
6464
This is a nano text editor emulator! Press Ctrl + x to leave.</textarea
6565
>
@@ -131,6 +131,7 @@ required.
131131
| `hide-prompt` | Hides the prompt | `Boolean` | `false` | No | No |
132132
| `history` | Terminal history | `Array` | `[]` | No | Yes |
133133
| `history-position` | Points to the latest dispatched query entry | `Number` | `0` | No | Yes |
134+
| `invert` | Inverts the terminals colors | `Boolean` | `false` | No | No |
134135
| `is-fullscreen` | Terminal fullscreen mode | `Boolean` | `false` | No | Yes |
135136
| `options-resolver` | See [Options resolver](#Options-resolver) | `Function` | `null` | No | No |
136137
| `parser` | Query parser | `Function` | See `defaultParser` | No | No |

0 commit comments

Comments
 (0)