1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-11-01 23:52:06 +00:00

Add support for blinking cursor

This commit is contained in:
Kristian
2019-07-08 15:21:17 +02:00
parent 411c116deb
commit 9960b25dff
3 changed files with 25 additions and 1 deletions

View File

@@ -59,6 +59,8 @@ QtObject{
property real burnInQuality: 0.5
property bool useFastBurnIn: Qt.platform.os === "osx" ? false : true
property bool blinkingCursor: true
onWindowScalingChanged: handleFontChanged();
// PROFILE SETTINGS ///////////////////////////////////////////////////////
@@ -208,7 +210,8 @@ QtObject{
burnInQuality: burnInQuality,
useCustomCommand: useCustomCommand,
customCommand: customCommand,
useFastBurnIn: useFastBurnIn
useFastBurnIn: useFastBurnIn,
blinkingCursor: blinkingCursor
}
return stringify(settings);
}
@@ -296,6 +299,8 @@ QtObject{
customCommand = settings.customCommand !== undefined ? settings.customCommand : customCommand
useFastBurnIn = settings.useFastBurnIn !== undefined ? settings.useFastBurnIn : useFastBurnIn;
blinkingCursor = settings.blinkingCursor !== undefined ? settings.blinkingCursor : blinkingCursor
}
function loadProfileString(profileString){