Trevor Slocum
3ad2fdd36a
Clarify that Table rows must each have the same number of columns
2 years ago
Trevor Slocum
c3391c3c3b
Make printWithStyle public and rename as PrintStyle
2 years ago
Trevor Slocum
2fe1085168
Fix List dividers allowing selection
2 years ago
Trevor Slocum
2877b77c18
Allow scrolling List horizontally
2 years ago
Trevor Slocum
a3a0d67f65
Fix WordWrap bounds out of range
...
Resolves #27 .
2 years ago
Trevor Slocum
ab1858fcd0
Update example in README
2 years ago
Trevor Slocum
4aae94db85
Add Application.GetScreen and Application.GetScreenSize
...
Resolves #41 .
2 years ago
Trevor Slocum
bf9ccbdf1a
Support additional Slider input keys
2 years ago
Trevor Slocum
298510a685
Revert WordWrap signature change
...
Resolves #40 .
2 years ago
Trevor Slocum
9c3564dc42
Add Slider
2 years ago
Trevor Slocum
b47c35329c
Fix TextView region highlighting
2 years ago
Trevor Slocum
c33ce95633
Fix List.Transform not calling handler set via SetChangedFunc
...
Resolves #39 .
2 years ago
Trevor Slocum
4ac48a9748
Replace FormItem.SetAttributes with individual methods
2 years ago
Trevor Slocum
94351006a1
Remove Application.ForceDraw
3 years ago
Trevor Slocum
86d39b1867
Do not wrap around TableCell selection
3 years ago
Trevor Slocum
ed5e6d94dd
Remove return values from methods which return their primitive (breaks chaining)
3 years ago
Trevor Slocum
2763609e05
Store InputField text data as []byte instead of string
3 years ago
Trevor Slocum
d5edb975b6
Store ListItem text as []byte instead of string
3 years ago
Trevor Slocum
96b2dd5523
Add Table test and benchmark, store TableCell as []byte instead of string
3 years ago
Trevor Slocum
4cbfd55a8e
Document TextView optimizations
3 years ago
Trevor Slocum
741bac61c6
Update .gitignore
3 years ago
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
3 years ago
Trevor Slocum
6b34a95e75
Print text using []byte instead of string, calculate string width using runewidth instead of uniseg
3 years ago
Trevor Slocum
50a085333b
Use TrimRightFunc when wrapping text in TextView
3 years ago
Trevor Slocum
659788f590
Add TextView.SetBytes
3 years ago
Trevor Slocum
da799d93c0
Document addition of TextView.GetBytes
3 years ago
Trevor Slocum
b5fba43a01
Merge branch 'tvopt' into 'master'
...
Store TextView buffer as [][]byte instead of []string
Closes #36
See merge request tslocum/cview!7
3 years ago
Trevor Slocum
710303491e
Store TextView buffer as [][]byte instead of []string
...
Partially implements #36 .
3 years ago
Trevor Slocum
4de432d7aa
Release v1.5.0
3 years ago
Trevor Slocum
5a3409bfd6
Release lock on InputField while executing DoneFunc and FinishedFunc
3 years ago
Trevor Slocum
3d1844e33b
Panic when attempting to add an invalid FormItem
3 years ago
Trevor Slocum
db81e43e00
Remove wrapper methods
3 years ago
Trevor Slocum
e1cd3be7bb
Lock Mutex when setting InputField attributes
3 years ago
Trevor Slocum
f83115be61
Merge branch 'fix/inputfield-suggestion' into 'master'
...
fix(inputfield): Display suggestion correctly
Closes #37
See merge request tslocum/cview!6
3 years ago
Trevor Slocum
34b52f731a
Add TextView buffer indexing benchmark
3 years ago
Andreas Bieber
9acd4bf821
fix(inputfield): Display suggestion correctly
3 years ago
Trevor Slocum
018a7e47fe
Allow autocomplete selection value customization
3 years ago
Trevor Slocum
0e419707b0
Add link to list of applications using cview
3 years ago
Trevor Slocum
357a49e9e7
Do not set focus-related style attributes by default
3 years ago
Trevor Slocum
a709a929d9
Fix FormItem.SetAttributes race condition
...
Resolves #35 .
3 years ago
Trevor Slocum
d53f87d967
Update List scroll bar cursor when view offset changes (rather than selected item)
3 years ago
Trevor Slocum
0c4f526680
Add WindowManager requirement to Window docs
3 years ago
Trevor Slocum
e20e58147f
Add Window and WindowManager
3 years ago
Trevor Slocum
97f450fc34
Set DropDown options list width to at least as wide as the originating field
3 years ago
Trevor Slocum
89fa23ab00
Resolve lint warnings
3 years ago
Trevor Slocum
5505bb7a58
Document changes submitted by Andreas Bieber
3 years ago
Trevor Slocum
1cfb3711cf
Merge branch 'feat/alot-of-features' into 'master'
...
Revamp FormItem styling, add arrow symbol to DropDown, add focus-driven style
options, add InputField autocomplete style options, provide DropDownOption in
DropDown handlers and provide ListItem in List handlers.
See merge request tslocum/cview!5
3 years ago
Andreas Bieber
474a8c1a27
chore: Add makefile and use in `gitlab-ci.yml`
...
Gives an easy possibility to execute the same commands as in the pipeline.
3 years ago
Andreas Bieber
70857602a5
feat(FormItem): Replace `SetFormAttributes` with `SetAttributes`
...
BREAKING CHANGE:
`SetFormAttributes` has been removed. To migrate your project, use `SetAttributes` which expects any combination of attribute setters.
Example:
`formItem.SetAttributes(cview.WithLabelWidth(10), cview.WithLabelColor(tcell.ColorYellow))`
or
`formItem.SetAttributes(cview.WithBackgroundColor(tcell.ColorBlack))`
3 years ago
Andreas Bieber
1d019e9697
fix(treeview): Use `scrollBarColor`
3 years ago