Commit Graph

3846 Commits

Author SHA1 Message Date
tznind
f73e98503a Add search elements 2023-03-03 17:45:20 +00:00
Thomas
0766f66e38 Add icon and monochrome support 2023-03-03 03:02:20 +00:00
tznind
95148f0c30 Fix multi select return value 2023-03-03 02:00:47 +00:00
tznind
5aef9faa72 Fix nullable and enable toggle select on table view 2023-03-03 01:48:23 +00:00
tznind
80eb291552 Remove EscSeqReq files that are not in v2... came from develop?! 2023-03-03 01:44:35 +00:00
tznind
8d62f3966f Fix bad merge changes 2023-03-03 01:37:30 +00:00
Thomas
d182c66ea2 Merge branch 'v2' into fs 2023-03-03 01:09:08 +00:00
Thomas Nind
0bd32c282e Fixes #505. Finishes merge of TileView (previously SplitContainer) (#2258)
* Add tests for proper disposing

* Make Ctrl+F10 toggle split line focusability

* Fix layout bug in first tile when orientation is horizontal

* Switch to GenerateImage

* Fix not calling base constructor

* Revert "Merges latest LineCanvas into TileView"

* Fix keyboard tab navigation problems

* Workaround for changing CanFocus throwing Exceptions sometimes

* Fix bad merges

* Fix bad merging

* Fix disposing in TileViewNesting scenario

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
2023-03-02 09:39:00 -07:00
Thomas Nind
705d4307e3 Fixes #1842 - Add support for toggling selected cells e.g. with space (#2386)
* Add support for toggling selected cells e.g. with space

* Make toggle cell selection work better with FullRowSelect

* Test for toggle cell selection

* Test and fix for full row select toggling

* Make toggle work with shift selected blocks

* Make extend selection ignore toggled regions when considering pushing a new head to selection stack
2023-03-02 09:35:54 -07:00
BDisp
9360e86961 Fixes #2389. Running UICatalog with a scenario argument throw ArgumentNullException. (#2390) 2023-03-02 09:16:51 -07:00
tznind
e9a100cf28 Trim default Titles to be more compact and readable 2023-02-26 18:16:58 +00:00
Thomas Nind
7e446ff0d3 Merge branch 'develop' into fs 2023-02-25 22:50:35 +00:00
tznind
8d255ffe37 Fix test 2023-02-25 22:48:13 +00:00
BDisp
1d2dc40c8a Fixes #2305. Improves the handling of escape sequence. (#2375)
* Changed ansi esc sequence used on exit.

* Changed ansi esc sequence used on exit.

* Improves HeightAsBuffer although currently only works on Windows.

* Fixes #2267. Toplevel.EnsureVisibleBounds throws an exception if border is null.

* Changing comment as requested.

* Fixes indentation.

* Seems not needed for now, maybe some update, comment for now.

* Renamed HeightAsBuffer to EnableConsoleScrolling and made it obsolete.

* Add comment on remarks for EnableConsoleScrolling.

* merged @bdisp's EnableConsoleScrolling PR

* Fixes buffer for Windows Terminal.

* Fixes issue in Windows Terminal on resizing causing some lines not be drawing after exceptions.

* merge #9

* merged #9

* use ESC [ ? 1047

* Tweaks with new esc codes

* Fixed curses driver to not nuke scroll buffer and to resize properly

* merge

* Cleand up netdriver escape codes

* fixed spaces->tabs

* fixed spaces->tabs

* fixed spaces->tabs

* fixed spaces->tabs

* fixed merge issue and  spaces->tabs

* fixed spaces->tabs

* fixed spaces->tabs

* fixed spaces->tabs

* fixed  build error

* removed old comments

* Resolving merge conflicts.

* Ensuring reset the EnableConsoleScrolling.

* Changing from HeightAsBuffer to EnableConsoleScrolling.

* Done requested changes.

* Reformatting.

* Rename to EscSeqReqStatus.

* Removing Console.Out.Flush ();

---------

Co-authored-by: Charlie Kindel <tig@users.noreply.github.com>
Co-authored-by: Tig Kindel <tig@kindel.com>
2023-02-25 15:30:44 -07:00
BDisp
ed27696b9e Fixes 2342. Border: can't change border color in window by Border.BorderBrush. (#2345)
* Fixes 2342. Border: can't change border color in window by Border.BorderBrush.

* Fixes border initialization.

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
2023-02-25 15:26:04 -07:00
tznind
9dcb34eae0 Fix test 2023-02-25 22:22:13 +00:00
tznind
c35f956eda Make title pretty and informative 2023-02-25 22:13:06 +00:00
tznind
d21b23ea34 Better arrow key navigation 2023-02-25 21:58:55 +00:00
tznind
270d8794cc Navigating to .. clears path up to current dir 2023-02-25 21:42:34 +00:00
tznind
f828ea303d bugfixes and quality of life 2023-02-25 21:31:48 +00:00
tznind
2bf44637b6 Add MustExist and fix multi selection of 1 result 2023-02-25 21:22:03 +00:00
tznind
33f9137f93 Move ok and cancel to bottom 2023-02-25 21:00:45 +00:00
tznind
016e377e8f Adjust suggestions to be gray and properly update on keystrokes 2023-02-25 20:44:16 +00:00
tznind
f87076483c Update to latest splitcontainer API 2023-02-25 20:35:44 +00:00
tznind
fb4e2fc985 Merge branch 'splitcontainer' into fs 2023-02-25 20:27:00 +00:00
Thomas Nind
bd066c0bbe Merge branch 'gui-cs:develop' into fs 2023-02-25 20:20:20 +00:00
tznind
7929084591 Workaround for changing CanFocus throwing Exceptions sometimes 2023-02-25 16:36:32 +00:00
tznind
ed17727eb1 Fix keyboard tab navigation problems 2023-02-25 16:09:00 +00:00
Tig Kindel
517ec9e988 fixed merge issues 2023-02-24 17:16:08 -07:00
Tig Kindel
5c659110bf Merge branch 'v1_setrelativelayout_improvement' into v2 2023-02-24 17:11:54 -07:00
Tig Kindel
ed177303c7 View spec update 2023-02-24 17:05:12 -07:00
Tig Kindel
fafb68be06 Merge branch 'develop' into v2 2023-02-24 15:54:07 -08:00
Thomas Nind
44c697840a Merge pull request #160 from tznind/revert-158-tznind-splitcontainer
lRevert 158 tznind splitcontainer
2023-02-24 22:08:57 +00:00
Thomas Nind
a068933f19 Revert "Merges latest LineCanvas into TileView" 2023-02-24 21:57:58 +00:00
Tig Kindel
7fbece9dc4 Pos.Combine unit tests 2023-02-24 12:52:43 -08:00
Thomas Nind
6be09720b2 Merge pull request #158 from tig/tznind-splitcontainer
Merges latest LineCanvas into TileView
2023-02-24 19:50:29 +00:00
Thomas Nind
edf766e56b Merge branch 'splitcontainer' into tznind-splitcontainer 2023-02-24 19:49:02 +00:00
Thomas
3c3a014814 Fix not calling base constructor 2023-02-24 19:42:39 +00:00
Tig Kindel
a0c44b7cdb restored Generic.cs 2023-02-25 07:42:33 +13:00
Tig Kindel
c11b4e3678 fixed more bugs exposed by Pos.Combine bugfix 2023-02-25 07:40:40 +13:00
Tig Kindel
eb3af67027 fixing bugs caused by Pos.Combine bugfix 2023-02-25 07:15:41 +13:00
Tig Kindel
c73292378b merged from develop after accident 2023-02-25 05:45:26 +13:00
Tig Kindel
d04bf94c74 merged from develop after accident 2023-02-25 05:42:43 +13:00
Tig Kindel
7d36a8490e Merge branch 'develop' into v1_setrelativelayout_improvments 2023-02-25 05:39:02 +13:00
Tig Kindel
121941497e fixed da bug; also fixed pwsh clipboard tests 2023-02-24 20:31:04 +13:00
Tig Kindel
a8b75b6219 Refactored SetRelativeLayout etc; looks good but tests fail 2023-02-24 20:15:02 +13:00
Tig
971062c93d Merge branch 'develop' into splitcontainer 2023-02-23 08:08:55 +13:00
Tig Kindel
b5de3e6916 Merge branch 'develop' of tig:gui-cs/Terminal.Gui into develop 2023-02-21 14:25:10 +13:00
BDisp
9cfa78a033 Fixes #2354. View.Redraw doesn't clear itself and PositionCursor doesn't ensure focus when a prior view was disabled. (#2355)
* Fixes #2354. View should have a IgnoreHasFocusPropertyOnRedraw property to prevent unnecessary derived class.

* Removed IgnoreHasFocusPropertyOnRedraw property.

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
2023-02-21 14:23:40 +13:00
Tig Kindel
d699b1b288 Merge branch 'v2' of tig:gui-cs/Terminal.Gui into v2 2023-02-21 14:09:23 +13:00