summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-13 15:47:30 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-13 15:47:30 -0500
commite9357bfd982b37672ed9c319956af32bf3db7856 (patch)
treeebc8d3d514725b9402f8316f92aafe2fe14fb22c /main.c
parentcdca3cc10dceda9580b2d87c2105c0654aa084fc (diff)
view-only mode
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index 772a8b3..5cbbb79 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,5 @@
// @TODO:
+// - open file in view-only mode menu
// - split
// - completion
// - view-only
@@ -657,6 +658,8 @@ int main(int argc, char **argv) {
print("Frame (noswap): %.1f ms\n", (frame_end_noswap - frame_start) * 1000);
}
#endif
+
+ SDL_SetWindowTitle(window, ted->window_title);
SDL_GL_SwapWindow(window);
PROFILE_TIME(frame_end);