aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/ui.lua
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2020-03-11 20:42:01 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2020-03-11 20:42:01 -0400
commit0dfec8e9c0689975cc20217b01fde1be09cf243a (patch)
tree90a64fc4265b7e2d0369dd8d1531ba0ec67300fc /core/ui.lua
parent84fd28ad486d4d16e437e8d8eae7d8855fd23ccd (diff)
More code cleanup, refactoring, and formatting.
Diffstat (limited to 'core/ui.lua')
-rw-r--r--core/ui.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/ui.lua b/core/ui.lua
index a90bd9b6..43101a96 100644
--- a/core/ui.lua
+++ b/core/ui.lua
@@ -320,8 +320,7 @@ end)
-- Sets buffer statusbar text.
events_connect(events.UPDATE_UI, function(updated)
if updated and updated & 3 == 0 then return end -- ignore scrolling
- local text =
- not CURSES and '%s %d/%d %s %d %s %s %s %s' or
+ local text = not CURSES and '%s %d/%d %s %d %s %s %s %s' or
'%s %d/%d %s %d %s %s %s %s'
local pos = buffer.selection_n_caret[buffer.main_selection]
local line, max = buffer:line_from_position(pos) + 1, buffer.line_count