Age | Commit message (Collapse) | Author |
|
Previously the editor would resize itself upon startup by finding the
size of the current terminal window, but now that it is running in an
actual window it should get the number of rows and columns from there.
This also adds parameters for the window size in rows and columns to the
window_init() function.
|
|
|
|
|
|
This binary file format is much easier to parse.
|
|
|
|
Now the text editor is visible in the window! There are still escape
codes for terminal output all over the place, but this is a good start.
|
|
|
|
There isn't much reason for the editor to run in a terminal window, so
the next step is to draw and get input events from a graphical window
using SDL.
This commit adds a basic test program that can read a font in the BDF
format and display text to the screen. This code will eventually be
integrated with the rest of the editor.
|