config: clarify docs on resetting font-family

This commit is contained in:
Mitchell Hashimoto
2024-01-03 09:43:24 -08:00
parent 398d1865fa
commit a57a32cdb3

View File

@ -38,6 +38,13 @@ const c = @cImport({
/// available in the primary font. This is particularly useful for
/// multiple languages, symbolic fonts, etc.
///
/// If you want to overwrite a previous set value rather than append
/// a fallback, specify the value as "" (empty string) to reset the list
/// and then set the new values. For example:
///
/// font-family = ""
/// font-family = "My Favorite Font"
///
/// Changing this configuration at runtime will only affect new terminals,
/// i.e. new windows, tabs, etc.
@"font-family": RepeatableString = .{},