mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
Improved a better clipped screen. Fixes some bugs with ScrollView, Menu. Added some virtual methods. (#410)
* Improved a better clipped screen. Fixes some bugs with ScrollView, Menu. Added some virtual methods. * Added some more key features, like shift. Cleaning and updating some stuffs .Added more features to TextField. * Closes the menu even in a button pressed in another view than menu. * Added a OnKeyPress action. Now all the keys events are properly mapped to the keys modifiers. Fixed a issue which keys like (ã, á, â) aren't correctly written. * Fixed an issue with the shift flag for keys ControlA_Z. * Ensures quiting the terminal if no other option is provided by pressing Ctrl-Q * Ensures the exception is thrown before ordered.Reverse. * Changed Button4 To Button3 for CursesDriver compatibility. * Added support for word selection through keyboard and the mouse. With triple click all text is selected. * Changed AllowNewLine to AllowWrap. * Fix topological sort in view class (#413) * AllowWrap removed and keys issues fixed. * Removing ordered.Reverse (); Something went wrong. * Fixes FrameView title. * Reverted some MapKeyModifiers that prevented the display of some characters. * Avoiding open the menu-bar every time we typing (€@£§). Alt key now only highlight the menu-bar without open it. * Fixes hot-key issue preventing menu closing after opened. * Curses now supports hot-keys and simulates AltMask with Alt+Space. Also supports shift and ctrl combinations to use with text selection. * Maintains the menu highlighted while focused. * Removed the IsOutBounds method. This feature is for a future presentation. Co-authored-by: En3Tho <37334640+En3Tho@users.noreply.github.com>
This commit is contained in:
@@ -111,7 +111,7 @@ class Demo {
|
||||
Y = Pos.Top (password),
|
||||
Width = Dim.Width (loginText)
|
||||
};
|
||||
|
||||
|
||||
// Add some content
|
||||
container.Add (
|
||||
login,
|
||||
@@ -162,7 +162,7 @@ class Demo {
|
||||
|
||||
static void Close ()
|
||||
{
|
||||
MessageBox.ErrorQuery (50, 5, "Error", "There is nothing to close", "Ok");
|
||||
MessageBox.ErrorQuery (50, 7, "Error", "There is nothing to close", "Ok");
|
||||
}
|
||||
|
||||
public static Label ml;
|
||||
|
||||
Reference in New Issue
Block a user