kilo icon indicating copy to clipboard operation
kilo copied to clipboard

Syntax Highlighting Segfault

Open StrongerXi opened this issue 2 years ago • 1 comments

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.

StrongerXi avatar Mar 20 '22 17:03 StrongerXi

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?

ghost avatar Apr 28 '23 21:04 ghost