Commit Graph

1901 Commits

Author SHA1 Message Date
Charlie Kindel
78eb9df47c Merge pull request #1101 from BDisp/textformatter-fix
Fixes #1100. TextFormatter doesn't handle ColumnWidth greater than 1.
2021-02-15 10:15:57 -07:00
Charlie Kindel
72361de53e Merge pull request #1102 from G-Freart/caret_sizing
Cursor shape and visibility
2021-02-15 10:13:28 -07:00
Charlie Kindel
364a8c997d Merge pull request #1108 from jay8ee/master
Update .netcore installation instruction in README.md
2021-02-15 10:08:29 -07:00
jay8ee
43d373543a Update README.md
Should be 'dotnet add package' not 'dotnet package add'
2021-02-09 14:21:55 +00:00
Gilles Freart
da17d389fc Whenever the Console is resized, Windows reset the cursor. So we need to reconfigure the cursor visibility. 2021-02-07 14:13:44 +01:00
Gilles Freart
e88bca0c93 set as before as not modified lines 2021-01-29 18:03:08 +01:00
Gilles Freart
4c34a88552 Applying requested style 2021-01-29 17:56:51 +01:00
Gilles Freart
a467afae12 Removing no more needed using 2021-01-29 17:43:51 +01:00
Gilles Freart
3ea6bb89d9 Applying style change, renaming some variable 2021-01-29 17:35:59 +01:00
Gilles Freart
21e24e9467 Preparing PR 2021-01-28 17:16:41 +01:00
Gilles Freart
8a13efbb83 Preparing PR + fix cursor issue happening inside frameview 2021-01-28 16:56:28 +01:00
BDisp
79f49d605b Fixes #1100. TextFormatter doesn't handle ColumnWidth greater than 1. 2021-01-28 15:34:06 +00:00
Gilles Freart
92e9d29e37 Fixing Cursor Display under Windows; setting more coherence between windows & linux at CursorVivibility enum 2021-01-28 15:57:34 +01:00
Gilles Freart
ff512f5846 Adjustment under ubuntu & ubuntu xTerm 2021-01-28 14:17:01 +01:00
Gilles Freart
9b617a07f0 Adjusting cursor size ... working under WindowsDriver 2021-01-27 21:51:07 +01:00
Charlie Kindel
77add786fc Merge pull request #1081 from BDisp/scroll-bar-view
Fixes #1073, #1058, #480 #1049. Provides more automation to the ScrollBarView, allowing easily implement on any view.
2021-01-22 09:32:27 -08:00
Charlie Kindel
45d5e997e1 Merge pull request #1094 from BDisp/netdriver-virtual-terminal-sequences
Fixes #1093. NetDriver is reading badly sometimes the virtual terminal sequences.
2021-01-22 09:22:04 -08:00
Charlie Kindel
ddbb15d44f Merge pull request #1092 from BDisp/linux-continuous-button-pressed
Fixes #1091. Continuous button pressed not working properly on Linux.
2021-01-22 09:21:12 -08:00
Charlie Kindel
fd663b6ddc Merge pull request #1090 from pcgeek86/patch-1
Add copyable instructions for .NET Core users
2021-01-22 09:20:50 -08:00
Charlie Kindel
285cc82b9f Merge pull request #1085 from angelobreuer/master
Application.Shutdown() does not reset SynchronizationContext
2021-01-22 09:19:44 -08:00
Charlie Kindel
d321fa0dc5 Merge pull request #1075 from BDisp/get-toplevel-subviews
Fixes #1071. Toplevel.GetTopLevelSubviews (). Changed from HashSet<View> to IList<View>.
2021-01-22 09:04:49 -08:00
Charlie Kindel
0cfd2c5a32 Merge pull request #1089 from BDisp/button-clicked-fix
Fixes #1088. On WindowsDriver moving the mouse with a button pressed, when it is released, the button clicked event is fired, causing an unintentional event.
2021-01-22 08:55:31 -08:00
BDisp
f9f68048a2 The host only need to pass the real sizes and the ScrollBarView automatically consider the extra line and column. 2021-01-22 02:21:56 +00:00
BDisp
0eb3b993ab Host must deal with the mouse wheel. 2021-01-22 00:23:01 +00:00
BDisp
cc7e5878dc Fixes the button release issue after button pressed and moved. 2021-01-21 21:07:00 +00:00
BDisp
0201113425 Added more mouse buttons codes. 2021-01-21 02:14:41 +00:00
BDisp
f0254f8b4d Fixes #1093. NetDriver is reading badly sometimes the virtual terminal sequences. 2021-01-21 00:48:32 +00:00
BDisp
27a617abba There is no need use the Application.MainLoop.AddIdle as the async call seems to work properly now. 2021-01-20 17:44:46 +00:00
BDisp
1c7e32e961 Removing private keyword. 2021-01-20 14:59:45 +00:00
BDisp
1bf4db0bd0 Reducing the ProcessContinuousButtonPressedAsync Task.Delay. 2021-01-20 14:57:44 +00:00
BDisp
f568166fb8 Fixes #1091. Continuous button pressed not working properly on Linux. 2021-01-20 14:54:34 +00:00
BDisp
3cdb1fe0e6 Fixes the double scrolling when the arrows are clicked on the ScrollBarView. 2021-01-20 13:37:31 +00:00
BDisp
6267d2742d KeepContentAlwaysInViewport is redrawing well now if it is false, showing always the left tee-right tee and top tee-bottom tee. 2021-01-20 02:20:48 +00:00
BDisp
ce46fb3d3e Don't need this. 2021-01-19 11:01:15 +00:00
BDisp
e7f66f8350 Simplifies the code more and makes it more understandable on the ScrollBarView. 2021-01-19 10:54:40 +00:00
Trevor Sullivan
ea834b8e0e Add copyable instructions for .NET Core users
Adding a simple copy/paste command to install Terminal.Gui into .NET Core projects
2021-01-18 13:19:08 -07:00
BDisp
3d95a87f3e Allowing columnTrack on button click in TextView. 2021-01-17 22:57:16 +00:00
BDisp
8f4924e40f Fixing bug in EnsuresVisibilitySelectedItem on ListView. 2021-01-17 02:02:52 +00:00
BDisp
0f038c76e1 Also implementing the ScrollBarView in the ComboBox of the ListsAndCombos scenario. 2021-01-17 00:47:32 +00:00
BDisp
58c2509772 Offers more simplicity to iterate with the ScrollBarView and its hosts. 2021-01-17 00:29:01 +00:00
BDisp
746a5c8c61 View not visible doesn't have to be handled. 2021-01-16 23:53:36 +00:00
BDisp
2f488c5572 Fixing ListView TopItem and LeftItem. 2021-01-15 23:58:46 +00:00
BDisp
bedeca61e6 Fixing some bugs. 2021-01-15 23:04:49 +00:00
BDisp
b3817d8ff1 Set focus to the ScrollBarView host if scrolling is started by the scroll bar. 2021-01-15 22:23:14 +00:00
BDisp
85d445a5d6 Reverting the changes as this is working right again. 2021-01-15 17:11:27 +00:00
BDisp
0466a6ebc3 Avoiding throwing exception on the "All Views Tester" scenario. 2021-01-15 17:09:31 +00:00
BDisp
542c507b59 Ensuring visibility to the SelectedItem of the ListView when getting focus. 2021-01-15 17:06:39 +00:00
BDisp
146d23422b Ensures that the ScrollBarView don't have two vertical or horizontal ScrollBarView. 2021-01-15 11:38:32 +00:00
BDisp
b88dbb672b Added right and left scrolling feature to the ListView. 2021-01-15 01:45:40 +00:00
BDisp
7d71525a4a Fixes #1088. On WindowsDriver moving the mouse with a button pressed, when it is released, the button clicked event is fired, causing an unintentional event. 2021-01-14 22:59:45 +00:00