Skip to content

Some options of launch command broken since v0.17.1 #2488

@wallace11

Description

@wallace11

Let me get straight to the point:

Ξ ~ → kitty --version          
kitty 0.17.1 created by Kovid Goyal
Ξ ~ → kitty @ launch --type=tab
Traceback (most recent call last):
  File "/usr/bin/../lib/kitty/kitty/boss.py", line 332, in _handle_remote_command
    response = handle_cmd(self, window, cmd)
  File "/usr/bin/../lib/kitty/kitty/remote_control.py", line 41, in handle_cmd
    ans = c.response_from_kitty(boss, window, PayloadGetter(c, payload))
  File "/usr/bin/../lib/kitty/kitty/rc/launch.py", line 75, in response_from_kitty
    opts = LaunchCLIOptions()
NameError: name 'LaunchCLIOptions' is not defined

name 'LaunchCLIOptions' is not defined

launch would work when launched via a keyboard shortcut, however some options are broken.
For instance, consider the following mapping:

map alt+r>h             launch --type=tab --tab-title=rpi ssh rpi

This would launch just fine, however the tab title is not set.

Hope this information is enough to hunt this bug down.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions