From 147b40aba2882c7c9ee8d038ac4d516bdd6f8b80 Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Sat, 28 Feb 2026 08:40:27 -0500 Subject: [PATCH] set up prompt/continuation color configuration The prompt and continuation color configurations were already available in the code, but examples of the relevant settings were not present in ~/.myclirc. --- changelog.md | 1 + mycli/myclirc | 2 ++ test/myclirc | 2 ++ 3 files changed, 5 insertions(+) diff --git a/changelog.md b/changelog.md index b5901554..6aa0157d 100644 --- a/changelog.md +++ b/changelog.md @@ -5,6 +5,7 @@ Features --------- * Offer filename completions on more special commands, such as `\edit`. * Allow styling of status, timing, and warnings text. +* Set up customization of prompt/continuation colors in `~/.myclirc`. Bug Fixes diff --git a/mycli/myclirc b/mycli/myclirc index dbcfc506..6fc37bbe 100644 --- a/mycli/myclirc +++ b/mycli/myclirc @@ -244,6 +244,8 @@ arg-toolbar = 'noinherit bold' arg-toolbar.text = 'nobold' bottom-toolbar.transaction.valid = 'bg:#222222 #00ff5f bold' bottom-toolbar.transaction.failed = 'bg:#222222 #ff005f bold' +prompt = '' +continuation = '' # style classes for colored table output output.header = "#00ff5f bold" diff --git a/test/myclirc b/test/myclirc index 56b92dcb..383cdcef 100644 --- a/test/myclirc +++ b/test/myclirc @@ -242,6 +242,8 @@ arg-toolbar = noinherit bold arg-toolbar.text = nobold bottom-toolbar.transaction.valid = "bg:#222222 #00ff5f bold" bottom-toolbar.transaction.failed = "bg:#222222 #ff005f bold" +prompt = '' +continuation = '' # style classes for colored table output output.header = "#00ff5f bold"