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

fix: do not send data to closed stream #2746

Merged
merged 1 commit into from
Oct 23, 2023
Merged

fix: do not send data to closed stream #2746

merged 1 commit into from
Oct 23, 2023

Commits on Oct 18, 2023

  1. fix: do not send data to closed stream

    This commit fixes the following error:
    
    E5108: Error executing lua: Vim:Can't send data to closed stream
    stack traceback:
    [C]: in function 'chansend'
    /lua/telescope/previewers/term_previewer.lua:224: in function '_send_input'
    /lua/telescope/previewers/previewer.lua:85: in function 'send_input'
    /lua/telescope/previewers/term_previewer.lua:238: in function '_scroll_fn'
    /lua/telescope/previewers/previewer.lua:93: in function 'scroll_fn'
    /lua/telescope/actions/set.lua:249: in function 'run_replace_or_original'
    /lua/telescope/actions/mt.lua:65: in function 'scroll_previewer'
    /lua/telescope/actions/init.lua:222: in function 'run_replace_or_original'
    
    This happens when previewers.new_termopen_previewer()'s get_command()
    ends without pagination.
    frantisekstanko committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    e611ef0 View commit details
    Browse the repository at this point in the history