aboutsummaryrefslogtreecommitdiff
path: root/core/handlers.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/handlers.lua')
-rw-r--r--core/handlers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/handlers.lua b/core/handlers.lua
index e0a7a8e0..1fcdb26d 100644
--- a/core/handlers.lua
+++ b/core/handlers.lua
@@ -161,7 +161,7 @@ local function set_title(buffer)
local buffer = buffer
local filename = buffer.filename or 'Untitled'
local d = buffer.dirty and ' * ' or ' - '
- textadept.title = filename:match('[^/]+$')..d..'Textadept'
+ textadept.title = filename:match('[^/]+$')..d..'Textadept ('..filename..')'
end
add_handler_function('save_point_reached',