summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2018-05-20 09:28:41 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2018-05-20 09:28:41 +0000
commit5f0eedfe496dc03c36ee2dbb1896f1ec8b32fc89 (patch)
tree28c7bbe9ca75c873d6ec43791acc86754e7201bd
parentdc96db5e4120a760f42ce94ba131bef5e49a4e6d (diff)
Change the 'Enable Blinking Cursor' menu item to 'Toggle Cursor Blinking'
This is more coherent with how the menu item interacts with changes caused by sending escape sequences. Remove the check mark from the item which was getting out of sync.
-rw-r--r--app/xterm/XTerm.ad2
-rw-r--r--app/xterm/menu.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/app/xterm/XTerm.ad b/app/xterm/XTerm.ad
index bce882bd0..25e4bb0a0 100644
--- a/app/xterm/XTerm.ad
+++ b/app/xterm/XTerm.ad
@@ -92,7 +92,7 @@
*vtMenu*visualbell*Label: Enable Visual Bell
*vtMenu*bellIsUrgent*Label: Enable Bell Urgency
*vtMenu*poponbell*Label: Enable Pop on Bell
-*vtMenu*cursorblink*Label: Enable Blinking Cursor
+*vtMenu*cursorblink*Label: Toggle Cursor Blinking
*vtMenu*titeInhibit*Label: Enable Alternate Screen Switching
*vtMenu*activeicon*Label: Enable Active Icon
*vtMenu*softreset*Label: Do Soft Reset
diff --git a/app/xterm/menu.c b/app/xterm/menu.c
index fe6214222..1100f4767 100644
--- a/app/xterm/menu.c
+++ b/app/xterm/menu.c
@@ -3618,11 +3618,13 @@ update_cursorblink(void)
check == cbNever) {
SetItemSensitivity(vtMenuEntries[vtMenu_cursorblink].widget, False);
}
+#if 0
UpdateCheckbox("update_cursorblink",
vtMenuEntries,
vtMenu_cursorblink,
(check == cbTrue ||
check == cbAlways));
+#endif
}
#endif