Skip to content

Commit c0804aa

Browse files
committed
Update documents
1 parent bce6602 commit c0804aa

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

docs/src/configurations/config-file-format.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ height = 20
4343
[ui.refs]
4444
width = 26
4545

46+
[graph]
47+
row_image_width = "compact"
48+
4649
[graph.color]
4750
branches = [
4851
"#E06C76",
@@ -167,6 +170,18 @@ The initial selection of commit when starting the application.
167170

168171
The value specified in the command line argument takes precedence.
169172

173+
### `graph.row_image_width`
174+
175+
The width mode for each graph row image.
176+
177+
- type: `string` (enum)
178+
- default: `compact`
179+
- possible values:
180+
- `compact`: trim each row image to the minimum required graph width
181+
- Reduces the file size for more lightweight operation. If you are using `kitty-unicode` protocol, it helps you avoid hitting [the image transfer size limit](https://sw.kovidgoyal.net/kitty/graphics-protocol/#image-persistence-and-storage-quotas).
182+
- `fixed`: use the same full graph width for every row image
183+
- This can be used when you want to set a background color for graphs in environments that cannot correctly handle transparent images, or in environments where rendering does not work well when there are images of various widths.
184+
170185
### `core.search.ignore_case`
171186

172187
Whether to enable ignore case by default.

0 commit comments

Comments
 (0)