diff options
-rw-r--r-- | commands.lua | 1 | ||||
-rw-r--r-- | source.lua | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/commands.lua b/commands.lua index 4e891ef..4a0d24a 100644 --- a/commands.lua +++ b/commands.lua @@ -130,6 +130,7 @@ end function navigate_to_file(s) move_candidate_to_front(s) source.switch_to_file(s..'.lua') + love.window.setTitle('lines.love - source - '..Editor_state.filename) reset_file_navigator() end diff --git a/source.lua b/source.lua index e8dd7cc..dafb1a7 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('lines.love - source') + love.window.setTitle('lines.love - source - '..Editor_state.filename) |