diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-11-13 23:14:52 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-11-13 23:14:52 -0800 |
commit | 902ce6009ddebd026d4a829ec1d9a1a08205b01e (patch) | |
tree | 8d818f977cb5ed10118cafc41c6fbf4232b674d0 /src/kilo.c | |
parent | 0e74056cbbda0c49ec852d4d98e32e0a8565be18 (diff) | |
download | teliva-902ce6009ddebd026d4a829ec1d9a1a08205b01e.tar.gz |
cleaner layout for a function's code and data
Diffstat (limited to 'src/kilo.c')
-rw-r--r-- | src/kilo.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/kilo.c b/src/kilo.c index 31e8983..dac5fb9 100644 --- a/src/kilo.c +++ b/src/kilo.c @@ -1035,9 +1035,6 @@ static void initEditor(void) { void edit(lua_State* L, char* filename, const char* message) { initEditor(); - /* clobber the app's ncurses colors; we'll restart the app when we rerun it. */ - for (int i = 0; i < 7; ++i) - init_pair(i, i, -1); editorOpen(filename); editorSetStatusMessage(message); while(!Quit) { |