load

Loads the configuration from the TOML file.

If the file does not exist, it creates a default configuration file with comments and returns the default settings. If the file is invalid or unreadable, it falls back gracefully to default settings.

Return

the loaded TerminalConfig instance.