Files
LLeMbas-TTY/docs/config/lua/config/window_content_alignment.md
T
2025-02-09 18:43:24 -07:00

703 B

tags
tags
appearance

window_content_alignment

Controls the alignment of the terminal cells inside the window.

When window size is not a multiple of terminal cell size, terminal cells will be slightly smaller than the window, and leave a small gap between the two. You can use this option to control where the additional gap will be.

The lua table has two fields and following possible values:

  • horizontal
    • "Left" (the default)
    • "Center"
    • "Right"
  • vertical
    • "Top" (the default)
    • "Center"
    • "Bottom"

For example, to center the terminal cells:

config.window_content_alignment = {
  horizontal = 'Center',
  vertical = 'Center',
}