about summary refs log tree commit diff stats
path: root/src/xmpp/message.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-02-12 08:32:34 +0100
committerMichael Vetter <jubalh@iodoru.org>2020-02-12 08:32:34 +0100
commit38c32be14cb6b985a0c3982d5fef7127c7dbbaa7 (patch)
tree830b1f01036c46a27fc774a441f35c6b988dc82a /src/xmpp/message.c
parent0482a80f8a27d1b36e20c73024a3f7735c2dafe1 (diff)
downloadprofani-tty-38c32be14cb6b985a0c3982d5fef7127c7dbbaa7.tar.gz
Distinguish between _win_print() and _win_printf()
_win_print() and _win_printf() sound like they are the same. But
actually they are something totally different.

I renamed _win_print() to _win_print_internal() for that reason. It's
more about actually drawing to the ncurses window.

_win_printf() calls _win_print() and also writes the text to the window
buffer. Which _win_print() didn't, it was really just the ncurses
specific things.

In some cases there is _win_print_internal() called after a
buffer_append() in those cases it might be more correct to actually call
_win_printf().
It was not done so far. But probably is better. But will mean a bit more
operations.

I'll have to check this later.
Diffstat (limited to 'src/xmpp/message.c')
0 files changed, 0 insertions, 0 deletions