minor usability: reducing "set date" spam

This commit is contained in:
rusefillc 2021-10-21 19:19:58 -04:00
parent f489e6a3c9
commit c6e8a5cc6b
1 changed files with 2 additions and 1 deletions

View File

@ -34,6 +34,7 @@ import java.util.function.Function;
public class AnyCommand {
private final static ThreadFactory THREAD_FACTORY = new NamedThreadFactory("AnyCommand");
public static final String KEY = "last_value";
// todo: kill while killing FSIO
private static final String DECODE_RPN = "decode_rpn";
private final UIContext uiContext;
@ -58,7 +59,7 @@ public class AnyCommand {
content.add(go);
uiContext.getCommandQueue().addListener(command -> {
if (listenToCommands && !reentrant && RecentCommands.isBoringCommand(command))
if (listenToCommands && !reentrant && !RecentCommands.isBoringCommand(command))
text.setText(command);
});