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

Syntax Highlighting Segfault #84

Open
StrongerXi opened this issue Mar 20, 2022 · 1 comment
Open

Syntax Highlighting Segfault #84

StrongerXi opened this issue Mar 20, 2022 · 1 comment

Comments

@StrongerXi
Copy link

How to reproduce

  1. Create any *.c file with 4 empty lines.
  2. Open the file with kilo, go to the 3rd line, press delete twice
  3. Now 2 lines remain, and cursor is at the first line. Move to next line
  4. Enter any character, e.g., a
  5. Segfault

#81 resolves this, please consider merging it.

@ghost
Copy link

ghost commented Apr 28, 2023

How to reproduce

  1. Create any *.c file with 4 empty lines.
  2. Open the file with kilo, go to the 3rd line, press delete twice
  3. Now 2 lines remain, and cursor is at the first line. Move to next line
  4. Enter any character, e.g., a
  5. Segfault

#81 resolves this, please consider merging it.

Annnnnd why don't you just apply the patch to your existing source?

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