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

Re-enable tab entry and ensure the cursor is moved the correct width #31

Merged
merged 2 commits into from
Jul 9, 2022

Commits on Jun 12, 2022

  1. Re-enable tab entry and ensure the cursor is moved the correct width

    Previously the `insert-tab` binding was a no-op because DISABLE_TABS
    is `false` causing insert_tab() not to be run. Remove the guard around
     insert_tab() to ensure that a tab (or spaces) are outputted and
    correct the calculation of the distance to move horizontally to work in
    both the tab and pseudo-tab (spaces) cases.
    
    Tested with DISABLE_TABS set to `true` (i.e. insert spaces) and `false`.
    iainh committed Jun 12, 2022
    Configuration menu
    Copy the full SHA
    9239ea0 View commit details
    Browse the repository at this point in the history
  2. Remove unneeded import

    iainh committed Jun 12, 2022
    Configuration menu
    Copy the full SHA
    ed5e2d6 View commit details
    Browse the repository at this point in the history