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

bugfix: remove newlines from debugger input #1407

Merged
merged 1 commit into from
Aug 25, 2024

Commits on Aug 25, 2024

  1. bugfix: remove newlines from debugger input

    The "fd" command didn't work in the debugger. This was because the "d"
    was followed in the input buffer by \n rather than \0.
    
    The Windows version of console_get replaces the terminating \r with \0.
    amiberry's version uses fgets, which doesn't do this; it did adjust the
    length value returned, but the debugger code doesn't look at the length.
    
    Make it actually strip the newline characters when adjusting the length.
    atsampson committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    a6754a3 View commit details
    Browse the repository at this point in the history