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

Esc r crashes h19term #9

Open
hackerb9 opened this issue Oct 12, 2022 · 1 comment
Open

Esc r crashes h19term #9

hackerb9 opened this issue Oct 12, 2022 · 1 comment

Comments

@hackerb9
Copy link

$ echo -e '\er'
Traceback (most recent call last):
  File "/home/ben/src/h19term/./h19term.py", line 2558, in <module>
    curses.wrapper(term.main, term, sio)
  File "/usr/lib/python3.9/curses/__init__.py", line 94, in wrapper
    return func(stdscr, *args, **kwds)
  File "/home/ben/src/h19term/./h19term.py", line 2537, in main
    term.process_escape_seq(sio)
  File "/home/ben/src/h19term/./h19term.py", line 962, in process_escape_seq
    self.heath_escape_seq(sio)
  File "/home/ben/src/h19term/./h19term.py", line 1024, in heath_escape_seq
    self.modify_baudrate(sio, self.baudrate[rate - 65]) #'A' - 65 = 0
IndexError: list index out of range
@horga83
Copy link
Owner

horga83 commented Oct 14, 2022

ok I'll look into it.

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

2 participants