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

Redisplay bug after updating query (edit, backspace) #356

Closed
kaushalmodi opened this issue Oct 7, 2016 · 2 comments · Fixed by #357
Closed

Redisplay bug after updating query (edit, backspace) #356

kaushalmodi opened this issue Oct 7, 2016 · 2 comments · Fixed by #357

Comments

@kaushalmodi
Copy link

What is the peco version, OS, architecture?

  • peco version - 0.4.3+ (built with the latest commit as of today: c29ba5a )
  • OS - RHEL 6.6
  • Terminal - xterm
  • Shell - tcsh
  • Using in tmux master branch build

Abstract

The available list of options does not always redisplay as expected. The list of options stays stale after editing the query area.

  • Let's say the list has elements a and b.
  • Typing a shows a
  • Backspace.. it still shows a.
  • Need to then do C-n/C-p/C-g(refresh) to see the correct list

Discussion

Below GIF shows this issue as I am typing a query, then hitting backspace, modifying the query. You will notice that hitting backspace changes the query, but does not dynamically update the list. You need to C-n/C-p/C-g to refresh the list manually.

peco_backslash_bug

My config

@lestrrat
Copy link
Contributor

Note: This seems to only happen when there's only 1 character in the query, and you delete it.

@kaushalmodi
Copy link
Author

This seems to only happen when there's only 1 character in the query

That seemed to be the case.

Thank you for fixing this! I confirm the fix too :)

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 a pull request may close this issue.

2 participants