Avoid empty reports from the turn counter

At present global hotkeys in the turn counter will report to the chat screen even if the report line is empty, which looks rather ugly and messy. Especially when there are several such carriage returns in a row.

It is probably a small tweak and would it then be possible to have in 3.2.0 such empty reporting removed?

Thus spake barbanera:

At present global hotkeys in the turn counter will report to the chat
screen even if the report line is empty, which looks rather ugly and
messy. Especially when there are several such carriage returns in a row.

Can you build me a test module exhibiting the problem?


J.

Ok, when building a sample module I noticed that the forced report (even when empty) is from the turn counter itself, rather than from the hotkeys.

In other words: if the report format line is left empty in turn counter hotkeys then nothing will be reported. Apologies for my mistake.

However, if the report format in the turn counter itself is left empty there will still be an empty line in the chat screen (or, more precisely, a line with a single pink asterisk at the beginning).

Would it be possible to remove that empty line?

I have attached a sample module with a couple of hotkeys. Just move forward in the turn counter to see the empty lines on every turn.

Thus spake barbanera:

However, if the report format in the turn counter itself is left empty
there will still be an empty line in the chat screen (or, more
precisely, a line with a single pink asterisk at the beginning).

Would it be possible to remove that empty line?

I looked at this just now. I don’t see any way to distinguish the case
in which the blank line is expected output from the case in which it
should be suppressed—so changing this would break any module which
was relying on the old behavior, and the old behavior is not obviously
wrong.


J.

That’s why I submitted this in the feature requests section, rather than
in the technical issues one.

I was hoping some sort of checkbox like “do not show empty report”
could be added in the turn counter.

Thanks.