about summary refs log tree commit diff stats
path: root/source.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2023-09-15 23:59:12 -0700
committerKartik K. Agaram <vc@akkartik.com>2023-09-15 23:59:12 -0700
commitf0436579c03922006a6d3ff3f24b3eb8845aed9f (patch)
treec620d66e23660783738e3fae6cea244966495a04 /source.lua
parent6e429d3e4d5f11a43084e38eb605ff7efc9ea4f8 (diff)
parent09c76c82c2a415839ad0d50d9fc14e883caeae6e (diff)
downloadview.love-f0436579c03922006a6d3ff3f24b3eb8845aed9f.tar.gz
Merge text.love
Diffstat (limited to 'source.lua')
-rw-r--r--source.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/source.lua b/source.lua
index 0d7e638..30de6a3 100644
--- a/source.lua
+++ b/source.lua
@@ -74,7 +74,7 @@ function source.initialize()
 
 
   -- keep a few blank lines around: https://merveilles.town/@akkartik/110084833821965708
-  love.window.setTitle('view.love - source')
+  love.window.setTitle('view.love - source - '..Editor_state.filename)
 
 
 
@@ -237,7 +237,7 @@ function source.switch_to_file(filename)
 end
 
 function source.draw()
-  edit.draw(Editor_state, --[[hide cursor?]] Show_file_navigator)
+  edit.draw(Editor_state, --[[hide cursor?]] Show_file_navigator, --[[show line numbers]] true)
   if Show_log_browser_side then
     -- divider
     App.color(Divider_color)