mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Handle End key on Windows
This commit is contained in:
@@ -199,6 +199,7 @@ namespace Terminal.Gui {
|
||||
Adjust ();
|
||||
break;
|
||||
|
||||
case Key.End:
|
||||
case Key.ControlE: // End
|
||||
point = text.Length;
|
||||
Adjust ();
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//
|
||||
// TODO:
|
||||
// PageUp/PageDown
|
||||
// PageUp/PageDown
|
||||
// Attributed text on spans
|
||||
// Replace insertion with Insert method
|
||||
// String accumulation (Control-k, control-k is not preserving the last new line, see StringToRunes
|
||||
@@ -815,6 +815,7 @@ namespace Terminal.Gui {
|
||||
}
|
||||
break;
|
||||
|
||||
case Key.End:
|
||||
case Key.ControlE: // End
|
||||
currentLine = GetCurrentLine ();
|
||||
currentColumn = currentLine.Count;
|
||||
|
||||
Reference in New Issue
Block a user