vte stores bold status, so set before saving
This commit is contained in:
parent
62d5eb5c7a
commit
a9b415f8d8
@ -141,7 +141,7 @@ void draw_prompt(int ret) {
|
||||
|
||||
/* Print the prompt. */
|
||||
printf("\033]1;%s@%s:%s\007", username, _hostname, _cwd);
|
||||
printf("\033[s\033[400C\033[16D\033[1m\033[38;5;59m[\033[38;5;173m%s \033[38;5;167m%s\033[38;5;59m]\033[u\033[38;5;221m%s\033[38;5;59m@\033[38;5;81m%s ",
|
||||
printf("\033[1m\033[s\033[400C\033[16D\033[1m\033[38;5;59m[\033[38;5;173m%s \033[38;5;167m%s\033[38;5;59m]\033[u\033[38;5;221m%s\033[38;5;59m@\033[38;5;81m%s ",
|
||||
date_buffer, time_buffer,
|
||||
username, _hostname);
|
||||
if (ret != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user