Commit Graph

543 Commits

Author SHA1 Message Date
Trevor Slocum 5a360ad87e Tweak window visibility changes 2020-10-19 10:15:27 -07:00
Trevor Slocum f2230ae3f8 Merge branch 'isbm-enhanced-windows' into 'master'
Add possibility to hide/show windows in window manager

See merge request tslocum/cview!9
2020-10-19 17:10:59 +00:00
Trevor Slocum fdb055d99b Generalize tag stripping as StripTags 2020-10-19 09:55:07 -07:00
Bo Maryniuk 8f11148f11 Draw only visible windows 2020-10-19 18:34:12 +02:00
Bo Maryniuk bbe99c97ca Add visibility attributes 2020-10-19 18:33:47 +02:00
Trevor Slocum 07ef49c867 Support reorienting TabbedPanels tab switcher 2020-10-19 09:31:10 -07:00
Trevor Slocum c326cc4c16 Support custom TabbedPanels tab styling 2020-10-16 13:06:09 -07:00
Trevor Slocum 27a707dceb Update cbind 2020-10-16 11:01:25 -07:00
Trevor Slocum df2d4e418e Support bracketed paste mode via tcell 2020-10-16 09:25:40 -07:00
Trevor Slocum 597052a7e7 Add FocusManager 2020-10-16 09:25:21 -07:00
Trevor Slocum ffd8b57dec Document renaming Panels for consistency with TabbedPanels 2020-10-15 19:00:10 -07:00
Trevor Slocum 50b3201606 Add TabbedPanels 2020-10-15 18:50:36 -07:00
Trevor Slocum 460aa5cbd5 Add compatibility warning 2020-10-15 11:49:50 -07:00
Trevor Slocum d2d497275e Clarify Application.ForceDraw removal 2020-10-15 09:36:14 -07:00
Trevor Slocum 767e4e474c Rename Pages as Panels 2020-10-15 09:15:02 -07:00
Trevor Slocum 3ad2fdd36a Clarify that Table rows must each have the same number of columns 2020-10-14 13:51:50 -07:00
Trevor Slocum c3391c3c3b Make printWithStyle public and rename as PrintStyle 2020-10-13 10:17:33 -07:00
Trevor Slocum 2fe1085168 Fix List dividers allowing selection 2020-10-13 10:13:36 -07:00
Trevor Slocum 2877b77c18 Allow scrolling List horizontally 2020-10-13 09:45:35 -07:00
Trevor Slocum a3a0d67f65 Fix WordWrap bounds out of range
Resolves #27.
2020-10-12 21:48:00 -07:00
Trevor Slocum ab1858fcd0 Update example in README 2020-10-12 10:19:41 -07:00
Trevor Slocum 4aae94db85 Add Application.GetScreen and Application.GetScreenSize
Resolves #41.
2020-10-12 10:07:50 -07:00
Trevor Slocum bf9ccbdf1a Support additional Slider input keys 2020-10-11 17:45:08 -07:00
Trevor Slocum 298510a685 Revert WordWrap signature change
Resolves #40.
2020-10-11 17:15:33 -07:00
Trevor Slocum 9c3564dc42 Add Slider 2020-10-11 13:39:04 -07:00
Trevor Slocum b47c35329c Fix TextView region highlighting 2020-10-11 12:07:30 -07:00
Trevor Slocum c33ce95633 Fix List.Transform not calling handler set via SetChangedFunc
Resolves #39.
2020-10-09 16:51:45 -07:00
Trevor Slocum 4ac48a9748 Replace FormItem.SetAttributes with individual methods 2020-10-09 08:37:54 -07:00
Trevor Slocum 94351006a1 Remove Application.ForceDraw 2020-10-07 21:27:30 -07:00
Trevor Slocum 86d39b1867 Do not wrap around TableCell selection 2020-10-07 20:39:16 -07:00
Trevor Slocum ed5e6d94dd Remove return values from methods which return their primitive (breaks chaining) 2020-10-07 16:35:21 -07:00
Trevor Slocum 2763609e05 Store InputField text data as []byte instead of string 2020-10-07 08:40:36 -07:00
Trevor Slocum d5edb975b6 Store ListItem text as []byte instead of string 2020-10-06 18:19:40 -07:00
Trevor Slocum 96b2dd5523 Add Table test and benchmark, store TableCell as []byte instead of string 2020-10-06 18:02:37 -07:00
Trevor Slocum 4cbfd55a8e Document TextView optimizations 2020-10-06 13:55:51 -07:00
Trevor Slocum 741bac61c6 Update .gitignore 2020-10-06 13:26:47 -07:00
Trevor Slocum 534661590c Merge branch 'print' into 'master'
Print text using []byte instead of string, calculate string width using runewidth instead of uniseg

See merge request tslocum/cview!8
2020-10-06 20:20:13 +00:00
Trevor Slocum 6b34a95e75 Print text using []byte instead of string, calculate string width using runewidth instead of uniseg 2020-10-06 13:16:37 -07:00
Trevor Slocum 50a085333b Use TrimRightFunc when wrapping text in TextView 2020-10-06 13:14:45 -07:00
Trevor Slocum 659788f590 Add TextView.SetBytes 2020-10-04 13:03:28 -07:00
Trevor Slocum da799d93c0 Document addition of TextView.GetBytes 2020-10-04 12:54:31 -07:00
Trevor Slocum b5fba43a01 Merge branch 'tvopt' into 'master'
Store TextView buffer as [][]byte instead of []string

Closes #36

See merge request tslocum/cview!7
2020-10-04 19:50:46 +00:00
Trevor Slocum 710303491e Store TextView buffer as [][]byte instead of []string
Partially implements #36.
2020-10-04 12:44:26 -07:00
Trevor Slocum 4de432d7aa Release v1.5.0 2020-10-03 21:04:46 -07:00
Trevor Slocum 5a3409bfd6 Release lock on InputField while executing DoneFunc and FinishedFunc 2020-10-02 17:00:57 -07:00
Trevor Slocum 3d1844e33b Panic when attempting to add an invalid FormItem 2020-10-02 16:31:31 -07:00
Trevor Slocum db81e43e00 Remove wrapper methods 2020-10-02 16:28:32 -07:00
Trevor Slocum e1cd3be7bb Lock Mutex when setting InputField attributes 2020-10-02 11:23:49 -07:00
Trevor Slocum f83115be61 Merge branch 'fix/inputfield-suggestion' into 'master'
fix(inputfield): Display suggestion correctly

Closes #37

See merge request tslocum/cview!6
2020-10-01 19:51:55 +00:00
Trevor Slocum 34b52f731a Add TextView buffer indexing benchmark 2020-10-01 12:45:11 -07:00