Prep for 2019 release
[fanfix.git] / src / jexer / TKeypress.java
index e0aa3b34a7e6243c6752d66bf7b5970886f76832..58085455eda4897a6ed3c1ee3f045fd11cf7f6c6 100644 (file)
@@ -3,7 +3,7 @@
  *
  * The MIT License (MIT)
  *
- * Copyright (C) 2017 Kevin Lamonte
+ * Copyright (C) 2019 Kevin Lamonte
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -796,6 +796,11 @@ public class TKeypress {
      */
     @Override
     public String toString() {
+        // Special case: Enter is "<arrow> <line> <angle>"
+        if (equals(kbEnter)) {
+            return "\u25C0\u2500\u2518";
+        }
+
         if (isFunctionKey) {
             switch (keyCode) {
             case F1: