Skip to content

ControlH & backspace clash ? #257

@Carreau

Description

@Carreau

Ok, so this is likely me who does something weird.

I've the following in a playground:

@registry.add_binding(Keys.ControlH, eager=True)
def makeh(event):
    event.cli.application.layout = hlayout

Where hlayout is an HSplit, (and same for CtrlV that make a VSplit)

it seem that sometime when I press backspace when typing a text in one of the buffers, the makeh callback is triggered. Of course, murphy's law, I can't reproduce it when I want, or it's likely that this is not backspace itself, but a thing I do at the same time without realizing, so just opening an issue in case you just know why.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions