Skip to content

Commit

Permalink
Add default log displaying help text (#1607)
Browse files Browse the repository at this point in the history
* Add default log displaying help text

* Add info about help command
  • Loading branch information
MrBurrBurr authored Oct 2, 2022
1 parent 509fc21 commit 2960837
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/i18n/locale/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
"check": "Check",
"commands": "Commands",
"commands-send": "Click here to send your command",
"commands-default": "For a list of available commands type: commands\nFor a short description of a command type: help <command>",
"config": "Config",
"config-no-changes": "You did not make any changes!",
"confirm": "Confirm",
Expand Down
1 change: 1 addition & 0 deletions src/views/Commands.vue
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@
this.asfCommands = await this.loadCommands();
},
mounted() {
this.log.push({ type: 'in', time: this.getTimestamp(), message: this.$t('commands-default') });
this.$refs['terminal-input'].focus();
},
methods: {
Expand Down

0 comments on commit 2960837

Please sign in to comment.