automatically clean up defaults from the config file

This commit is contained in:
Eugene Pankov
2021-07-11 00:06:52 +02:00
parent 67bbbd7f65
commit 908f90cd52
11 changed files with 155 additions and 44 deletions

View File

@@ -10,6 +10,17 @@ export class TelnetProfilesService extends ProfileProvider {
name = 'Telnet'
supportsQuickConnect = false
settingsComponent = TelnetProfileSettingsComponent
configDefaults = {
options: {
host: null,
port: 23,
inputMode: 'local-echo',
outputMode: null,
inputNewlines: null,
outputNewlines: 'crlf',
scripts: [],
},
}
async getBuiltinProfiles (): Promise<TelnetProfile[]> {
return [