# Pane

Pane settings

## `restore_on_launch`

Restore the panes that were open when Halloy was last closed when launching the application.

```toml
# Type: boolean
# Values: true, false
# Default: true

[pane]
restore_on_launch = false
```

## `scrollbar`

Scrollbar configuration.

## `width`

Width of the scrollbar.

```toml
# Type: integer
# Values: any non-negative integer
# Default: 5

[pane.scrollbar]
width = 5
```

## `scroller_width`

Width of the scrollbar scroller.

```toml
# Type: integer
# Values: any non-negative integer
# Default: 5

[pane.scrollbar]
scroller_width = 5
```

## `split_axis`

Default axis used when splitting the focused pane to create a new pane (i.e. default orientation of the divider between panes).  `"shorter"` will compare the width and height of the pane to select the splitting axis;  if the width is shorter then the horizontal axis is selected, and if the height is shorter then the vertical axis is selected.  `"largest-shorter"` will split the largest pane in the main window using the same method as `"shorter"`, rather than splitting the focused pane.

```toml
# Type: string
# Values: "horizontal", "largest-shorter", "shorter", "vertical"
# Default: "shorter"

[pane]
split_axis = "vertical"
```

## `gap`

Gap configuration for pane spacing and padding.

```toml
[pane.gap]
inner = 4
outer = 4
```

### `inner`

Controls the spacing between panes in a pane grid.

```toml
# Type: integer
# Values: any non-negative integer
# Default: 4

[pane.gap]
inner = 4
```

### `outer`

Controls the padding around the outer edge of the pane grid.

```toml
# Type: integer
# Values: any non-negative integer
# Default: 8

[pane.gap]
outer = 8
```
