Class UiOptions
Display settings, configuration section Section.
Implements
Inherited Members
Namespace: Uniform.Chat.Terminal.Configuration
Assembly: Uniform.Chat.dll
Syntax
public sealed record UiOptions : IEquatable<UiOptions>
Fields
| Edit this page View SourceSection
Configuration section name.
Declaration
public const string Section = "Ui"
Field Value
| Type | Description |
|---|---|
| string |
Properties
| Edit this page View SourceAskWhereToSave
Whether Save file asks where to save, starting from DownloadDirectory; otherwise files are saved there under a free name.
Declaration
public bool AskWhereToSave { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
DarkBackground
Whether the terminal background is dark, so bright pixels get dense characters.
Declaration
public bool DarkBackground { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
DownloadDirectory
Folder that saved files go to; when null, ~/Downloads if it exists, otherwise the home folder.
Declaration
public string? DownloadDirectory { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ImagePreviewColumns
Widest preview in terminal columns; 0 fills the width of the message log.
Declaration
public int ImagePreviewColumns { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ImagePreviewRows
Tallest preview in terminal rows; 0 allows three quarters of the message log's height.
Declaration
public int ImagePreviewRows { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ImagePreviewStyle
Declaration
public ImagePreviewStyle ImagePreviewStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| ImagePreviewStyle |
InlineImages
Whether to show ASCII previews of images in the message log.
Declaration
public bool InlineImages { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
StartRoom
Room ID or alias to open at start; the first room in the list when null.
Declaration
public string? StartRoom { get; set; }
Property Value
| Type | Description |
|---|---|
| string |