mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
parent
c9a95cacd9
commit
7292d1c9df
4 changed files with 5 additions and 5 deletions
|
|
@ -32,7 +32,7 @@ First some examples::
|
|||
|
||||
To demo the various shapes, simply run the following command inside kitty::
|
||||
|
||||
kitten mouse_demo
|
||||
kitten mouse-demo
|
||||
|
||||
For more details see below.
|
||||
|
||||
|
|
@ -160,7 +160,7 @@ characters from the set ``a-z0-9_-``.
|
|||
|
||||
To demo the various shapes, simply run the following command inside kitty::
|
||||
|
||||
kitten mouse_demo
|
||||
kitten mouse-demo
|
||||
|
||||
Legacy xterm compatibility
|
||||
----------------------------
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ def run_kitten(kitten: str, run_name: str = '__main__') -> None:
|
|||
def all_kitten_names() -> FrozenSet[str]:
|
||||
ans = []
|
||||
for name in list_kitty_resources('kittens'):
|
||||
if '__' not in name and '.' not in name and name not in ('tui', 'mouse_demo'):
|
||||
if '__' not in name and '.' not in name and name != 'tui':
|
||||
ans.append(name)
|
||||
return frozenset(ans)
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@ import (
|
|||
"kitty/kittens/hints"
|
||||
"kitty/kittens/hyperlinked_grep"
|
||||
"kitty/kittens/icat"
|
||||
"kitty/kittens/mouse_demo"
|
||||
"kitty/kittens/show_key"
|
||||
"kitty/kittens/ssh"
|
||||
"kitty/kittens/themes"
|
||||
|
|
@ -20,6 +19,7 @@ import (
|
|||
"kitty/tools/cli"
|
||||
"kitty/tools/cmd/at"
|
||||
"kitty/tools/cmd/edit_in_kitty"
|
||||
"kitty/tools/cmd/mouse_demo"
|
||||
"kitty/tools/cmd/pytest"
|
||||
"kitty/tools/cmd/run_shell"
|
||||
"kitty/tools/cmd/show_error"
|
||||
|
|
@ -53,7 +53,7 @@ func KittyToolEntryPoints(root *cli.Command) {
|
|||
show_key.EntryPoint(root)
|
||||
// mouse_demo
|
||||
root.AddSubCommand(&cli.Command{
|
||||
Name: "mouse_demo",
|
||||
Name: "mouse-demo",
|
||||
ShortDescription: "Demo the mouse handling kitty implements for terminal programs",
|
||||
OnlyArgsAllowed: true,
|
||||
Run: func(cmd *cli.Command, args []string) (rc int, err error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue