Removed some old dbgs and comments

This commit is contained in:
Mikayla Maki 2022-07-15 18:42:07 -07:00
parent 523e565b9b
commit 6675c96c8a
2 changed files with 4 additions and 5 deletions

View file

@ -68,8 +68,7 @@
// Settings specific to the terminal
"terminal": {
// What shell to use when opening a terminal. May take 3 values:
// 1. Use the system's terminal configuration (e.g. $TERM). Note this is not
// A substitution, only an exact text match
// 1. Use the system's default terminal configuration (e.g. $TERM).
// "shell": "system"
// 2. A program:
// "shell": {
@ -107,10 +106,10 @@
"env": [
//["KEY", "value1:value2"]
]
//Set the terminal's font size. If this option is not listed,
//Set the terminal's font size. If this option is not included,
//the terminal will default to matching the buffer's font size.
//"font_size": "15"
//Set the terminal's font family. If this option is not listed,
//Set the terminal's font family. If this option is not included,
//the terminal will default to matching the buffer's font family.
//"font_family": "Zed Mono"
},

View file

@ -427,7 +427,7 @@ fn make_text_style(font_cache: &FontCache, settings: &Settings) -> TextStyle {
.terminal_overrides
.font_family
.as_ref()
.and_then(|family_name| dbg!(font_cache.load_family(&[family_name]).log_err()))
.and_then(|family_name| font_cache.load_family(&[family_name]).log_err())
.or_else(|| {
settings
.terminal_defaults