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

action execute sudoedit: laggy input #3767

Open
5 of 10 tasks
telychko opened this issue May 3, 2024 · 0 comments
Open
5 of 10 tasks

action execute sudoedit: laggy input #3767

telychko opened this issue May 3, 2024 · 0 comments

Comments

@telychko
Copy link

telychko commented May 3, 2024

Checklist

  • I have read through the manual page (man fzf)
  • I have searched through the existing issues
  • For bug reports, I have checked if the bug is reproducible in the latest version of fzf

Output of fzf --version

0.48.1 (9ffe951)

OS

  • Linux
  • macOS
  • Windows
  • Etc.

Shell

  • bash
  • zsh
  • fish

Problem / Steps to reproduce

STEPS TO REPRODUCE

  1. Make bash script file lag.sh with following content
#!/bin/bash

echo /etc/fstab | fzf --bind='enter:execute( sudoedit -- {} )'
  1. Run the script $ ./lag.sh
  2. Press Enter
  3. Enter your user password to authorize sudo
  4. Press and hold an arrow key to see cursor moving. Play with the arrow keys. It's easiest way to see the lag. Actually during work, this lag is very notable.

ACTUAL RESULTS
Cursor is stuttering, sometimes for very long time.

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

No branches or pull requests

1 participant