diff options
author | Michael Vetter <jubalh@iodoru.org> | 2022-05-03 12:17:29 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2022-05-03 12:17:29 +0200 |
commit | be55b16bef18532d46161842412236629bde5601 (patch) | |
tree | c9b8d21894418b5e88be2f0f418854e730ab0597 | |
parent | 49c6b4581226b3288dea7d712aa662a265562211 (diff) | |
download | profani-tty-be55b16bef18532d46161842412236629bde5601.tar.gz |
Restore default behaviour for stamps
@mdosch discovered that we now don't print `:` for messages from others anymore. Until https://github.com/profanity-im/profanity/pull/1663#issuecomment-1114625151 is fixed lets restore the default behaviour to always add `:` in `_win_print_internal()`. The result will be that a stamp set to `-->` will also look like `-->:`.
-rw-r--r-- | src/config/preferences.c | 2 | ||||
-rw-r--r-- | src/ui/window.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c index 1a01ab66..62b75051 100644 --- a/src/config/preferences.c +++ b/src/config/preferences.c @@ -2292,7 +2292,7 @@ _get_default_string(preference_t pref) return editor ? editor : "vim"; } case PREF_OUTGOING_STAMP: - return "me:"; + return "me"; case PREF_INCOMING_STAMP: return NULL; case PREF_URL_SAVE_CMD: diff --git a/src/ui/window.c b/src/ui/window.c index 7d0e6381..5f879c8f 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -1602,7 +1602,7 @@ _win_print_internal(ProfWin* window, const char* show_char, int pad_indent, GDat offset = 4; me_message = TRUE; } else { - wprintw(window->layout->win, "%s ", from); + wprintw(window->layout->win, "%s: ", from); wattroff(window->layout->win, colour); } } |