From 0dd7536b5acd87733a0d179cf6451f5d51551e82 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Mon, 15 Aug 2022 15:48:45 +0200 Subject: Update README --- README.adoc | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.adoc b/README.adoc index ea378be..da7f3e7 100644 --- a/README.adoc +++ b/README.adoc @@ -151,14 +151,18 @@ Beware that you can easily break the program if you're not careful. How do I make xC look like the screenshot? ------------------------------------------ -First of all, you must build it with Lua support. With the defaults, 'xC' -doesn't look too fancy because I don't want to depend on Lua or 256-colour -terminals. In addition to that, I appear to be one of the few people who use -black on white terminals. +With the defaults, 'xC' doesn't look too fancy because I don't want to have +a hard dependency on either Lua for the bundled script that provides an easily +adjustable enhanced prompt, or on 256-colour terminals. Moreover, it's nearly +impossible to come up with a colour theme that would work well with both +black-on-white and white-on-black terminals, or anything wild in between. +Assuming that your build supports Lua plugins, and that you have a decent, +properly set-up terminal emulator, it suffices to run: + + /set behaviour.backlog_helper = Press Tab here and change +Gb to +Gb1d /set behaviour.date_change_line = "%a %e %b %Y" /set behaviour.plugin_autoload += "fancy-prompt.lua" - /set behaviour.backlog_helper = "LESSSECURE=1 less -R +Gb1d -Ps'Backlog ?ltlines %lt-%lb?L/%L. .?e(END):?pB%pB\\%..'" /set attributes.userhost = "\x1b[38;5;109m" /set attributes.join = "\x1b[38;5;108m" /set attributes.part = "\x1b[38;5;138m" -- cgit v1.2.3-70-g09d2