Browse Source

Fixes #1183. ListView now return true on the handled keys. (#1184)

BDisp 4 năm trước cách đây
mục cha
commit
5ac4372adf
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      Terminal.Gui/Views/ListView.cs

+ 4 - 1
Terminal.Gui/Views/ListView.cs

@@ -401,8 +401,11 @@ namespace Terminal.Gui {
 			case Key.Home:
 				return MoveHome ();
 
+			default:
+				return false;
 			}
-			return base.ProcessKey (kb);
+
+			return true;
 		}
 
 		/// <summary>