ze
Loading...
Searching...
No Matches
Functions
Collaboration diagram for Initialization:

Functions

void initEditor (void)
 Initialize global editor state and screen dimensions.
 

Detailed Description

Function Documentation

◆ initEditor()

void initEditor ( void  )

Initialize global editor state and screen dimensions.

Resets the global E struct to a clean state, queries the terminal size, and reserves two rows for the status and message bars.

Postcondition
E fields are initialized; on failure, terminates via die().
See also
enableRawMode(), getWindowSize(), editorRefreshScreen()