Skip to content

Conversation

@mrkct
Copy link

@mrkct mrkct commented Apr 27, 2025

Otherwise kilo will halt at startup because we'll block reading the response until the user types an explicit newline.

This can happen if, in getWindowSize, this condition is true ioctl(1, TIOCGWINSZ, &ws) == -1 || ws.ws_col == 0 and we have to get the terminal's size using raw vt100 commands.

Otherwise kilo will halt at startup because we'll block
reading the response until the user types an explicit newline
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.

1 participant