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

Small Fix for input handling in Search popup #1816

Merged
merged 2 commits into from
Aug 22, 2023
Merged

Small Fix for input handling in Search popup #1816

merged 2 commits into from
Aug 22, 2023

Conversation

AmmarAbouZor
Copy link
Contributor

@AmmarAbouZor AmmarAbouZor commented Aug 18, 2023

This PR adds a small fix for the great work in PR #1800

The bug occurs when using vim-keybindings in the filter for navigation and moving up or down toward the text box using the key k or j it will add k or j to the input text box too.

It changes the following:

  • It fixes the Input handling logic since the input was still given to the text box even if it consumed by other controls.

I followed the checklist:

  • I added unittests
  • I ran make check without errors
  • I tested the overall application
  • I added an appropriate item to the changelog

Input was still given to the text box even if it consumed by other
controls.
@AmmarAbouZor AmmarAbouZor mentioned this pull request Aug 22, 2023
4 tasks
@extrawurst extrawurst merged commit 306ff91 into extrawurst:master Aug 22, 2023
19 checks passed
@AmmarAbouZor AmmarAbouZor deleted the fix_filter_input_handling branch August 22, 2023 20:57
IndianBoy42 pushed a commit to IndianBoy42/gitui that referenced this pull request Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants