Skip to content

Commit e7f34c0

Browse files
committed
docs!: code style, explain signals
1 parent 2f76138 commit e7f34c0

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -70,18 +70,18 @@ This is a nano text editor emulator! Press Ctrl + x to leave.</textarea
7070
</div>
7171
</template>
7272
73-
<script lang="js">
73+
<script>
7474
export default {
75-
inject: ['exit', 'setFullscreen', 'terminal'],
75+
inject: ["exit", "setFullscreen", "terminal"],
7676
77-
created () {
78-
this.setFullscreen(true)
77+
created() {
78+
this.setFullscreen(true);
7979
},
8080
81-
mounted () {
82-
this.$refs.nano.focus()
83-
}
84-
}
81+
mounted() {
82+
this.$refs.nano.focus();
83+
},
84+
};
8585
</script>
8686
8787
<style scoped>
@@ -364,7 +364,7 @@ signals.off("SIGINT", sigint);
364364
```
365365

366366
The libraries query component makes usage of that and allows to cancel a query
367-
with `SIGIN`.
367+
with `SIGINT` and appending `^C` to the query.
368368

369369
## Nice-to-haves
370370

0 commit comments

Comments
 (0)