Skip to content

Commit fc33ce3

Browse files
committed
typos
1 parent 137a465 commit fc33ce3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pkg/theme-generator/builder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ func GetTheme(imagePath string, theme Platform) (string, error) {
178178

179179
templates := map[Platform]string{
180180
PlatformGhostty: ghosttyTemplate,
181-
PlatfromIterm: itermTemplate,
181+
PlatformIterm: itermTemplate,
182182
PlatformKitty: kittyTemplate,
183183
PlatformWezterm: weztermTemplate,
184184
}

pkg/theme-generator/platform.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ type Platform string
77
const (
88
PlatformGhostty Platform = "ghostty"
99
PlatformKitty Platform = "kitty"
10-
PlatfromIterm Platform = "iterm"
10+
PlatformIterm Platform = "iterm"
1111
PlatformWezterm Platform = "wezterm"
1212
)
1313

1414
func PlatformValues() []string {
1515
return []string{
1616
string(PlatformGhostty),
17-
string(PlatfromIterm),
17+
string(PlatformIterm),
1818
string(PlatformKitty),
1919
string(PlatformWezterm),
2020
}
@@ -34,7 +34,7 @@ func (p *Platform) Type() string {
3434

3535
func (p *Platform) Set(v string) error {
3636
switch v {
37-
case string(PlatformGhostty), string(PlatfromIterm), string(PlatformKitty), string(PlatformWezterm):
37+
case string(PlatformGhostty), string(PlatformIterm), string(PlatformKitty), string(PlatformWezterm):
3838
*p = Platform(v)
3939
return nil
4040
}

0 commit comments

Comments
 (0)