Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding TAB to Code section #46

Closed
NogradThGin opened this issue Dec 24, 2019 · 1 comment
Closed

Adding TAB to Code section #46

NogradThGin opened this issue Dec 24, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@NogradThGin
Copy link

NogradThGin commented Dec 24, 2019

Is it possible to add

    #[getter(TAB)]
    fn tab(&self) -> PyResult<Py<Code>> {
        self.init_code_ref(autopilot::key::KeyCode::Tab)
    }

to the impl _Code section, tested at home it work perfectly.
Actually there is no key listed (or did I failed in my search ?) which allow to do a tab

@msanders
Copy link
Contributor

msanders commented Dec 24, 2019

Yes - please open a PR! :) Looks like this was a small oversight, the code you wrote above looks good. Otherwise I'll add one shortly.

@msanders msanders added the enhancement New feature or request label Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants