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

Check $COLUMNS and $LINES report correct values in readline preview #884

Open
lmorg opened this issue Sep 24, 2024 · 0 comments
Open

Check $COLUMNS and $LINES report correct values in readline preview #884

lmorg opened this issue Sep 24, 2024 · 0 comments
Labels
Investigate Not a bug nor a feature request

Comments

@lmorg
Copy link
Owner

lmorg commented Sep 24, 2024

$COLUMNS and $LINES likely reports from os.Stdin.Fd rather than p.Stdout.File.Fd.

This would lead to $COLUMNS and $LINES not reporting the right size for differently sized PTYs.

@lmorg lmorg added the Investigate Not a bug nor a feature request label Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Investigate Not a bug nor a feature request
Projects
None yet
Development

No branches or pull requests

1 participant