Replace list_fonts with choose-fonts kitten

This commit is contained in:
Kovid Goyal
2024-05-06 12:17:25 +05:30
parent e1b367e1b3
commit 926dfd7ba1
10 changed files with 251 additions and 110 deletions

View File

@@ -6,6 +6,7 @@ import (
"fmt"
"kitty/kittens/ask"
"kitty/kittens/choose_fonts"
"kitty/kittens/clipboard"
"kitty/kittens/diff"
"kitty/kittens/hints"
@@ -20,7 +21,6 @@ import (
"kitty/tools/cmd/at"
"kitty/tools/cmd/benchmark"
"kitty/tools/cmd/edit_in_kitty"
"kitty/tools/cmd/list_fonts"
"kitty/tools/cmd/mouse_demo"
"kitty/tools/cmd/pytest"
"kitty/tools/cmd/run_shell"
@@ -77,10 +77,10 @@ func KittyToolEntryPoints(root *cli.Command) {
run_shell.EntryPoint(root)
// show_error
show_error.EntryPoint(root)
// choose-fonts
choose_fonts.EntryPoint(root)
// __pytest__
pytest.EntryPoint(root)
// __list_fonts__
list_fonts.EntryPoint(root)
// __hold_till_enter__
root.AddSubCommand(&cli.Command{
Name: "__hold_till_enter__",