diff --git a/Terminaux.Console/Terminaux.Console.csproj b/Terminaux.Console/Terminaux.Console.csproj
index db24da73..dd3897e1 100644
--- a/Terminaux.Console/Terminaux.Console.csproj
+++ b/Terminaux.Console/Terminaux.Console.csproj
@@ -25,7 +25,7 @@
-
+
diff --git a/Terminaux/Inputs/Interactive/InteractiveTuiTools.cs b/Terminaux/Inputs/Interactive/InteractiveTuiTools.cs
index b5ddaed8..d2f6e6e3 100644
--- a/Terminaux/Inputs/Interactive/InteractiveTuiTools.cs
+++ b/Terminaux/Inputs/Interactive/InteractiveTuiTools.cs
@@ -426,13 +426,13 @@ private static void DrawStatus(BaseInteractiveTui
binding.BindingPointerButton == mouse.Button && binding.BindingPointerButtonPress == mouse.ButtonPress && binding.BindingPointerModifiers == mouse.Modifiers);
- TPrimary selectedData = (TPrimary)dataPrimary.GetElementFromIndex(interactiveTui.FirstPaneCurrentSelection - 1);
- TSecondary selectedDataSecondary = (TSecondary)dataSecondary.GetElementFromIndex(interactiveTui.SecondPaneCurrentSelection - 1);
+ TPrimary? selectedData = (TPrimary?)dataPrimary.GetElementFromIndex(interactiveTui.FirstPaneCurrentSelection - 1);
+ TSecondary? selectedDataSecondary = (TSecondary?)dataSecondary.GetElementFromIndex(interactiveTui.SecondPaneCurrentSelection - 1);
object? finalData = interactiveTui.CurrentPane == 2 ? selectedDataSecondary : selectedData;
foreach (var implementedBinding in implementedBindings)
{
@@ -890,8 +890,8 @@ void UpdatePositionBasedOnArrowPress(PointerEventContext mouse)
// Now, get the implemented bindings from the pressed key
var implementedBindings = allBindings.Where((binding) =>
binding.BindingKeyName == key.Key && binding.BindingKeyModifiers == key.Modifiers);
- TPrimary selectedData = (TPrimary)dataPrimary.GetElementFromIndex(interactiveTui.FirstPaneCurrentSelection - 1);
- TSecondary selectedDataSecondary = (TSecondary)dataSecondary.GetElementFromIndex(interactiveTui.SecondPaneCurrentSelection - 1);
+ TPrimary? selectedData = (TPrimary?)dataPrimary.GetElementFromIndex(interactiveTui.FirstPaneCurrentSelection - 1);
+ TSecondary? selectedDataSecondary = (TSecondary?)dataSecondary.GetElementFromIndex(interactiveTui.SecondPaneCurrentSelection - 1);
object? finalData = interactiveTui.CurrentPane == 2 ? selectedDataSecondary : selectedData;
foreach (var implementedBinding in implementedBindings)
{
diff --git a/Terminaux/Terminaux.csproj b/Terminaux/Terminaux.csproj
index 068c6cc9..0f48325c 100644
--- a/Terminaux/Terminaux.csproj
+++ b/Terminaux/Terminaux.csproj
@@ -43,12 +43,12 @@
-
+
-
+
-
-
+
+