mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-28 03:01:57 +02:00
@@ -32,7 +32,7 @@ First some examples::
|
|||||||
|
|
||||||
To demo the various shapes, simply run the following command inside kitty::
|
To demo the various shapes, simply run the following command inside kitty::
|
||||||
|
|
||||||
kitten mouse_demo
|
kitten mouse-demo
|
||||||
|
|
||||||
For more details see below.
|
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::
|
To demo the various shapes, simply run the following command inside kitty::
|
||||||
|
|
||||||
kitten mouse_demo
|
kitten mouse-demo
|
||||||
|
|
||||||
Legacy xterm compatibility
|
Legacy xterm compatibility
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ def run_kitten(kitten: str, run_name: str = '__main__') -> None:
|
|||||||
def all_kitten_names() -> FrozenSet[str]:
|
def all_kitten_names() -> FrozenSet[str]:
|
||||||
ans = []
|
ans = []
|
||||||
for name in list_kitty_resources('kittens'):
|
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)
|
ans.append(name)
|
||||||
return frozenset(ans)
|
return frozenset(ans)
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ import (
|
|||||||
"kitty/kittens/hints"
|
"kitty/kittens/hints"
|
||||||
"kitty/kittens/hyperlinked_grep"
|
"kitty/kittens/hyperlinked_grep"
|
||||||
"kitty/kittens/icat"
|
"kitty/kittens/icat"
|
||||||
"kitty/kittens/mouse_demo"
|
|
||||||
"kitty/kittens/show_key"
|
"kitty/kittens/show_key"
|
||||||
"kitty/kittens/ssh"
|
"kitty/kittens/ssh"
|
||||||
"kitty/kittens/themes"
|
"kitty/kittens/themes"
|
||||||
@@ -20,6 +19,7 @@ import (
|
|||||||
"kitty/tools/cli"
|
"kitty/tools/cli"
|
||||||
"kitty/tools/cmd/at"
|
"kitty/tools/cmd/at"
|
||||||
"kitty/tools/cmd/edit_in_kitty"
|
"kitty/tools/cmd/edit_in_kitty"
|
||||||
|
"kitty/tools/cmd/mouse_demo"
|
||||||
"kitty/tools/cmd/pytest"
|
"kitty/tools/cmd/pytest"
|
||||||
"kitty/tools/cmd/run_shell"
|
"kitty/tools/cmd/run_shell"
|
||||||
"kitty/tools/cmd/show_error"
|
"kitty/tools/cmd/show_error"
|
||||||
@@ -53,7 +53,7 @@ func KittyToolEntryPoints(root *cli.Command) {
|
|||||||
show_key.EntryPoint(root)
|
show_key.EntryPoint(root)
|
||||||
// mouse_demo
|
// mouse_demo
|
||||||
root.AddSubCommand(&cli.Command{
|
root.AddSubCommand(&cli.Command{
|
||||||
Name: "mouse_demo",
|
Name: "mouse-demo",
|
||||||
ShortDescription: "Demo the mouse handling kitty implements for terminal programs",
|
ShortDescription: "Demo the mouse handling kitty implements for terminal programs",
|
||||||
OnlyArgsAllowed: true,
|
OnlyArgsAllowed: true,
|
||||||
Run: func(cmd *cli.Command, args []string) (rc int, err error) {
|
Run: func(cmd *cli.Command, args []string) (rc int, err error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user