helix-mirror/helix-term/src
Michael Davis 7f5fd63835
Evenly space statusline areas when there isn't space to align middle (#9950)
The refactor in bcf7b263 introduced a possible subtraction with overflow
when the statusline is layed out so that the left or right sides are
larger than the padding it would take to align the center area to the
middle.

When the left or right areas are too large, we can evenly space the
elements rather than trying to align the center area to the middle.
This prevents possible underflows and makes sense visually - it's
still easy to tell the areas apart at a glance.
2024-03-21 09:16:58 +09:00
..
commands add register completion (#9936) 2024-03-19 17:26:32 +01:00
handlers fix LSP ComplitionTriggerKind value for TriggerKind::Auto (#9660) 2024-02-19 13:58:17 +01:00
keymap toggling of block comments (#4718) 2024-02-27 22:36:25 +09:00
ui Evenly space statusline areas when there isn't space to align middle (#9950) 2024-03-21 09:16:58 +09:00
application.rs LSP: Normalize diagnostic file paths 2024-02-26 00:12:43 +09:00
args.rs Fallback to filename for +arg (#9333) 2024-01-14 15:11:18 +01:00
commands.rs Prevent shell_keep_pipe from stopping on nonzero exit status code (#9817) 2024-03-19 07:30:34 -05:00
compositor.rs add redraw command (#6949) 2023-09-08 10:46:36 +09:00
config.rs feat: smart_tab 2023-08-01 09:41:42 -05:00
events.rs Add hook/event system 2024-01-23 11:20:19 +09:00
handlers.rs refactor completion and signature help using hooks 2024-01-23 11:20:19 +09:00
health.rs Add glob file type support (#8006) 2024-02-11 18:24:20 +01:00
job.rs Add hook/event system 2024-01-23 11:20:19 +09:00
keymap.rs Allow numbers as second input event (#8471) 2024-02-14 11:53:15 +01:00
lib.rs Ignore more version control systems (#9935) 2024-03-19 15:08:50 +01:00
main.rs Add glob file type support (#8006) 2024-02-11 18:24:20 +01:00