refactor: absorb statusline offset into indicator padding
Remove the hardcoded statusline_offset from calculate_position() and let padding.y serve as the sole offset from the bottom edge. Bump default padding.y to 3 to preserve the original visual position.
This commit is contained in:
1 parent
d82c901ad6
commit
f112ac542e
4 files changed
+7
-8
No files matched your search
+1
-1
@@ -187,7 +187,7 @@ indicator (table|nil) ~
|
||||
|
||||
y (integer|nil) ~
|
||||
Vertical offset from the top or bottom edge.
|
||||
Default: 1
|
||||
Default: 3
|
||||
|
||||
patterns (table|nil) ~
|
||||
Lua patterns for detecting command lifecycle in output.
|
||||
|
||||
Reference in new issue
Block a user