Trait modalkit::env::ShellBindings

source ·
pub trait ShellBindings {
    // Required method
    fn shell(self) -> Self;
}
Expand description

Configure an InputBindings instance so that it’s suitable for shell-like contexts.

For example, the Enter key usually types a newline when inserting text, but would be expected to instead submit text in a shell context.

Required Methods§

source

fn shell(self) -> Self

Configure bindings so that they can used in a shell-like context.

Object Safety§

This trait is not object safe.

Implementors§