git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH try2] completion: prompt: use generic colors

From
Joakim Petersen <joak-pet@online.no>
Date
Mar 16, 2023, 14:11 UTC
Message-ID
<9e317aa7-0037-7076-e159-3a70c581ebc1@online.no>
In-Reply-To
<CAMP44s23cvp-YWDN7vzsKQCcWoc43PgURq+J6pwtx0rxOpZLBg@mail.gmail.com>
On 01/03/2023 21:27, Felipe Contreras wrote:
Show 10 quoted lines
>>> We don't need bash to do this conversion, we can use \001 \002
>>> ourselves, and then the prompt command mode is not necessary to display
>>> colors.
> 
>> Comments from those who use colored prompt and who are familiar with
>> the mechansim used to implement this?  As I do not use the feature
>> at all and haven't been following it, seeing independent support
>> would help the topic.
> 
> At least in try1 Justin Donnelly reported success [1].

I've played around a bit with this patch, and it seems to work as advertised.

Previous: Felipe ContrerasNext: Junio C Hamano
Message 4 of 6 in “completion: prompt: use generic colors”
  1. completion: prompt: use generic colorsFelipe Contreras, Feb 28, 2023
  2. Junio C HamanoMar 1, 2023
  3. Felipe ContrerasMar 1, 2023
  4. Joakim PetersenMar 16, 2023
  5. Junio C HamanoMar 16, 2023
  6. Felipe ContrerasMar 16, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.