Delete debug lines

This commit is contained in:
Night Kaly 2024-11-12 12:27:34 +00:00
parent 77c4392d1c
commit ef4e93abb9
Signed by: night0721
SSH key fingerprint: SHA256:B/hgVwUoBpx5vdNsXl9w8XwZljA9766uk6T4ubZp5HM

3
vip.c
View file

@ -585,9 +585,6 @@ void draw_rows(void)
char *c = &cur_editor->row[filerow].render[cur_editor->coloff]; char *c = &cur_editor->row[filerow].render[cur_editor->coloff];
unsigned char *hl = &cur_editor->row[filerow].hl[cur_editor->coloff]; unsigned char *hl = &cur_editor->row[filerow].hl[cur_editor->coloff];
FILE *f=fopen("/home/night/a", "a");
fprintf(f, "%s, cur_editor->coloff: %d\n", c, cur_editor->coloff);
fclose(f);
for (int j = 0; j < len; j++) { for (int j = 0; j < len; j++) {
if (iscntrl(c[j])) { if (iscntrl(c[j])) {
bprintf("%s%c\033[m", OVERLAY_2_BG, '@' + c[j]); bprintf("%s%c\033[m", OVERLAY_2_BG, '@' + c[j]);