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

Addwstr returned err #7

Open
thegoodduck opened this issue Nov 14, 2024 · 1 comment
Open

Addwstr returned err #7

thegoodduck opened this issue Nov 14, 2024 · 1 comment
Assignees

Comments

@thegoodduck
Copy link
Owner

Basically when the terminal size isnt perfect it crashes

@thegoodduck thegoodduck self-assigned this Nov 14, 2024
@thegoodduck
Copy link
Owner Author

Enter your interface(detected: ['eno1']) : eno1
Traceback (most recent call last):
File "/home/viktor/Documents/NetSour-School/NetSour/main.py", line 261, in
main()
File "/home/viktor/Documents/NetSour-School/NetSour/main.py", line 259, in main
curses.wrapper(display_packets, packet_queue, nmap_queue)
File "/usr/lib/python3.12/curses/init.py", line 94, in wrapper
return func(stdscr, *args, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/viktor/Documents/NetSour-School/NetSour/main.py", line 239, in display_packets
stdscr.addstr(height - 1, 0, footer_text[:width], curses.A_BOLD)
_curses.error: addwstr() returned ERR

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