Files
FluentTerminal/FluentTerminal.Models/TerminalOptions.cs
Andrew Kralovec 6524d14687 Native Renderer Collabate PR (#284)
* Load terminal options and add the inital scroll viewer

* Current Virtual Cavnas, problem with event handler calling the canvas on draw
2019-04-03 07:26:07 +02:00

33 lines
770 B
C#

using FluentTerminal.Models.Enums;
using Windows.UI.Text;
namespace FluentTerminal.Models
{
public class TerminalOptions
{
public string FontFamily { get; set; }
public int FontSize { get; set; }
public bool BoldText { get; set; }
public CursorStyle CursorStyle { get; set; }
public bool CursorBlink { get; set; }
public BellStyle BellStyle { get; set; }
public ScrollBarStyle ScrollBarStyle { get; set; }
public double BackgroundOpacity { get; set; }
public int Padding { get; set; }
public uint ScrollBackLimit { get; set; }
public FontWeight FontWeight
{
get => BoldText ? FontWeights.Bold : FontWeights.Normal;
}
}
}