Crash when sending long message #39

Closed
opened 2026-10-05 03:17:13 +02:00 by adam · 0 comments
Owner

If the length of the message sent is longer than the input window, when you send the message, the app crashes.

The crash occurs at the end of draw_packetlog_win(), where we "Restore cursor to input field". At this point the input_text is still the (long) message being sent, which is longer than the window, which causes a "_curses.error: move() returned ERR" when we try to move outside the bounds of the window.

If the length of the message sent is longer than the input window, when you send the message, the app crashes. The crash occurs at the end of draw_packetlog_win(), where we "Restore cursor to input field". At this point the input_text is still the (long) message being sent, which is longer than the window, which causes a "_curses.error: move() returned ERR" when we try to move outside the bounds of the window. <!-- github-sync-id:2929194714 -->
adam closed this issue 2026-10-05 03:17:13 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/contact#39