mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: support multiple terminal fonts (#17257)
Fixes: https://github.com/coder/coder/issues/15024
This commit is contained in:
Generated
+20
@@ -15603,6 +15603,19 @@ const docTemplate = `{
|
||||
"TemplateVersionWarningUnsupportedWorkspaces"
|
||||
]
|
||||
},
|
||||
"codersdk.TerminalFontName": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"",
|
||||
"ibm-plex-mono",
|
||||
"fira-code"
|
||||
],
|
||||
"x-enum-varnames": [
|
||||
"TerminalFontUnknown",
|
||||
"TerminalFontIBMPlexMono",
|
||||
"TerminalFontFiraCode"
|
||||
]
|
||||
},
|
||||
"codersdk.TimingStage": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -15776,9 +15789,13 @@ const docTemplate = `{
|
||||
"codersdk.UpdateUserAppearanceSettingsRequest": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"terminal_font",
|
||||
"theme_preference"
|
||||
],
|
||||
"properties": {
|
||||
"terminal_font": {
|
||||
"$ref": "#/definitions/codersdk.TerminalFontName"
|
||||
},
|
||||
"theme_preference": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -16070,6 +16087,9 @@ const docTemplate = `{
|
||||
"codersdk.UserAppearanceSettings": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"terminal_font": {
|
||||
"$ref": "#/definitions/codersdk.TerminalFontName"
|
||||
},
|
||||
"theme_preference": {
|
||||
"type": "string"
|
||||
}
|
||||
|
||||
Generated
+16
-1
@@ -14188,6 +14188,15 @@
|
||||
"enum": ["UNSUPPORTED_WORKSPACES"],
|
||||
"x-enum-varnames": ["TemplateVersionWarningUnsupportedWorkspaces"]
|
||||
},
|
||||
"codersdk.TerminalFontName": {
|
||||
"type": "string",
|
||||
"enum": ["", "ibm-plex-mono", "fira-code"],
|
||||
"x-enum-varnames": [
|
||||
"TerminalFontUnknown",
|
||||
"TerminalFontIBMPlexMono",
|
||||
"TerminalFontFiraCode"
|
||||
]
|
||||
},
|
||||
"codersdk.TimingStage": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -14358,8 +14367,11 @@
|
||||
},
|
||||
"codersdk.UpdateUserAppearanceSettingsRequest": {
|
||||
"type": "object",
|
||||
"required": ["theme_preference"],
|
||||
"required": ["terminal_font", "theme_preference"],
|
||||
"properties": {
|
||||
"terminal_font": {
|
||||
"$ref": "#/definitions/codersdk.TerminalFontName"
|
||||
},
|
||||
"theme_preference": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -14625,6 +14637,9 @@
|
||||
"codersdk.UserAppearanceSettings": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"terminal_font": {
|
||||
"$ref": "#/definitions/codersdk.TerminalFontName"
|
||||
},
|
||||
"theme_preference": {
|
||||
"type": "string"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user