Major codebase cleanup and overhaul.

+ editor removes per-buffer fields.
+ switching from internal use of 'int' to 'size_t'.
+ deleting old code
+ double checking relevancy of comments. A lot has changed in
  5 years, even more so in the past week.
+ fixing a few vestigal memory errors from the overhaul.
+ fixing search behavior
This commit is contained in:
2025-11-28 11:31:40 -08:00
parent 7b20e9ee37
commit a9bcb0d36b
13 changed files with 937 additions and 1005 deletions

8
term.h
View File

@@ -1,5 +1,5 @@
#ifndef TERM_H
#define TERM_H
#ifndef KE_TERM_H
#define KE_TERM_H
#include "abuf.h"
@@ -17,6 +17,6 @@ void display_clear(abuf *ab);
* on this for now because it's bloaty and this works on OpenBSD and
* Linux, at least.
*/
int get_winsz(int *rows, int *cols);
int get_winsz(size_t *rows, size_t *cols);
#endif /* TERM_H */
#endif /* KE_TERM_H */