Commit Graph

961 Commits

Author SHA1 Message Date
Jakub Sobon 6aaa8f312d
Merge pull request #324 from mum4k/dependabot/go_modules/devel/github.com/gdamore/tcell/v2-2.5.1
Bump github.com/gdamore/tcell/v2 from 2.4.0 to 2.5.1
2022-07-07 13:23:48 -04:00
Jakub Sobon 7e8c26a94e
Merge pull request #329 from icy-comet/devel
add tcell's dim text style
2022-07-07 13:23:29 -04:00
Aniket Teredesai bb460d221d add tcell's dim text style 2022-07-01 09:22:23 +05:30
dependabot[bot] 047a3f8edd
Bump github.com/gdamore/tcell/v2 from 2.4.0 to 2.5.1
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell) from 2.4.0 to 2.5.1.
- [Release notes](https://github.com/gdamore/tcell/releases)
- [Changelog](https://github.com/gdamore/tcell/blob/master/CHANGESv2.md)
- [Commits](https://github.com/gdamore/tcell/compare/v2.4.0...v2.5.1)

---
updated-dependencies:
- dependency-name: github.com/gdamore/tcell/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 21:15:58 +00:00
Jakub Sobon ab8e6dd194
Re-enabling coverage reporting. 2022-01-14 00:29:17 -05:00
Jakub Sobon 8f493dc3f0
Bump CI. 2022-01-14 00:17:30 -05:00
Jakub Sobon b6a4177439
Note about Go version change. 2022-01-14 00:01:10 -05:00
Jakub Sobon 11e38fd7d4
Updating CHANGELOG. 2022-01-13 23:36:19 -05:00
Jakub Sobon c8b9636f19
Merge branch 'master' into devel 2022-01-13 23:28:53 -05:00
dependabot[bot] 4297302225
Bump github.com/gdamore/tcell/v2 from 2.2.0 to 2.4.0 (#315)
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell) from 2.2.0 to 2.4.0.
- [Release notes](https://github.com/gdamore/tcell/releases)
- [Changelog](https://github.com/gdamore/tcell/blob/master/CHANGESv2.md)
- [Commits](https://github.com/gdamore/tcell/compare/v2.2.0...v2.4.0)

---
updated-dependencies:
- dependency-name: github.com/gdamore/tcell/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-24 02:29:39 -05:00
dependabot[bot] 8ad0acff78
Bump github.com/mattn/go-runewidth from 0.0.12 to 0.0.13 (#309)
Bumps [github.com/mattn/go-runewidth](https://github.com/mattn/go-runewidth) from 0.0.12 to 0.0.13.
- [Release notes](https://github.com/mattn/go-runewidth/releases)
- [Commits](https://github.com/mattn/go-runewidth/compare/v0.0.12...v0.0.13)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-24 02:27:09 -05:00
Jakub Sobon 9ed371362b
Release Termdash v0.16.0. (#302)
## v0.16.0 - 03-Apr-2021

### Added

- The `Text` widget has a new option `MaxTextCells` which can be used to limit
  the maximum number of cells the widget keeps in memory.

### Changed

- Bump github.com/mattn/go-runewidth from 0.0.10 to 0.0.12.
2021-04-03 17:21:22 -04:00
Jakub Sobon 0e8e5b8226 Merge branch 'devel' into release-0-16-0 2021-04-03 17:12:58 -04:00
Jakub Sobon 09d8a5b0d9
Add missing test coverage for negative MaxTextCells. 2021-04-03 17:12:35 -04:00
Jakub Sobon fd93d4a112
Update CHANGELOG for release v0.16.0. 2021-04-03 17:06:12 -04:00
Jakub Sobon 4238ac6f76
Implements a buffer limit for the Text widget. (#301)
See issue #293 where memory and performance can degrade with a high number of lines written to the Text widget. 

This is a very simplistic implementation to limit the possible length the text buffer can grow to with the `maxContent` option. 

Default value of -1 means there's no limit and therefore behaviour should remain standard.

It has been working in our test app and allows the use of the Text widget to monitor logs (ie tail) and therefore doesn't bloat over time, but happy to adjust as required.
2021-04-03 17:04:53 -04:00
Jakub Sobon 3cfeb8ad81
Merge branch 'master' into devel 2021-04-03 12:46:12 -04:00
Jakub Sobon 336236233b
Updating CHANGELOG on behalf of dependabot. 2021-04-03 12:38:29 -04:00
Jakub Sobon c7af264560 Merge branch 'devel' of ssh://github.com/mum4k/termdash into devel 2021-04-03 12:38:00 -04:00
dependabot[bot] 1e6a2e1b52
Bump github.com/mattn/go-runewidth from 0.0.10 to 0.0.12 (#300)
Bumps [github.com/mattn/go-runewidth](https://github.com/mattn/go-runewidth) from 0.0.10 to 0.0.12.
- [Release notes](https://github.com/mattn/go-runewidth/releases)
- [Commits](https://github.com/mattn/go-runewidth/compare/v0.0.10...v0.0.12)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-03 12:37:45 -04:00
Heiko Alexander Weber fc131ea436
Update README.md (#299)
+ added "ali" as reference in projects
2021-03-18 19:41:29 -04:00
Jakub Sobon 8a5b62c731
Release v0.15.0. (#298)
### Changed

- Bump github.com/gdamore/tcell/v2 from 2.0.0 to 2.2.0.
- Bump github.com/mattn/go-runewidth from 0.0.9 to 0.0.10.
- Allowing CI to modify go.mod and go.sum when necessary.
- Executed `go mod tidy`.

### Added

- TitleColor and TitleFocusedColor options for border title which enables the 
  setting of separate colors for border and title on a container.
2021-03-06 02:26:42 -05:00
Jakub Sobon f9872ab149
Updating CHANGELOG.
And running `go mod tidy`.
2021-03-06 02:21:06 -05:00
dependabot[bot] 975e068445
Bump github.com/gdamore/tcell/v2 from 2.1.0 to 2.2.0 (#295)
* Bump github.com/gdamore/tcell/v2 from 2.1.0 to 2.2.0

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-06 02:17:49 -05:00
Jakub Sobon a5995f58b1
Allow CI to modify go.mod and go.sum for missing hashes. (#297)
* Allow CI to modify go.mod and go.sum for missing hashes.
* Updating CHANGELOG.
2021-03-06 02:07:39 -05:00
Jakub Sobon 5b49d8958a
Update CHANGELOG.md 2021-01-12 22:04:20 -05:00
Jakub Sobon 31027efda4
Merge pull request #291 from mum4k/dependabot/go_modules/devel/github.com/mattn/go-runewidth-0.0.10
Bump github.com/mattn/go-runewidth from 0.0.9 to 0.0.10
2021-01-12 22:03:42 -05:00
dependabot[bot] ab06c91697
Bump github.com/mattn/go-runewidth from 0.0.9 to 0.0.10
Bumps [github.com/mattn/go-runewidth](https://github.com/mattn/go-runewidth) from 0.0.9 to 0.0.10.
- [Release notes](https://github.com/mattn/go-runewidth/releases)
- [Commits](https://github.com/mattn/go-runewidth/compare/v0.0.9...v0.0.10)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-12 07:10:35 +00:00
Jakub Sobon 386afb91b5
Merge pull request #290 from chipmunkie/73-title-color
Add support for setting of different colors for container's border and title
2021-01-05 19:53:58 -05:00
Andreea Sobon a645df600a Update CHANGELOG.md and rephrease test description. 2021-01-05 09:52:19 -05:00
Andreea Sobon f8470e7dfe Fix formatting issues. 2021-01-04 12:34:23 -05:00
Andreea Sobon 22ae449020 Support setting of different colors for container's border and title. 2021-01-04 12:20:40 -05:00
Jakub Sobon f4b0d03624
Update CHANGELOG.md 2020-12-30 23:40:17 -05:00
Jakub Sobon 24ed30f1d9
Merge pull request #289 from mum4k/dependabot/go_modules/devel/github.com/gdamore/tcell/v2-2.1.0
Bump github.com/gdamore/tcell/v2 from 2.0.0 to 2.1.0
2020-12-30 23:39:28 -05:00
dependabot[bot] d8a476ec57
Bump github.com/gdamore/tcell/v2 from 2.0.0 to 2.1.0
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/gdamore/tcell/releases)
- [Changelog](https://github.com/gdamore/tcell/blob/master/CHANGESv2.adoc)
- [Commits](https://github.com/gdamore/tcell/compare/v2.0.0...v2.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-30 07:55:34 +00:00
Jakub Sobon 74d9de20cb
Create dependabot.yml 2020-12-30 02:54:55 -05:00
Jakub Sobon d2b202a0d3
Merge pull request #288 from mum4k/release-0-14
Releasing Termdash v0.14.
2020-12-30 02:37:18 -05:00
Jakub Sobon 54c48db8f6
Releasing Termdash v0.14. 2020-12-30 02:27:40 -05:00
Jakub Sobon b14a8445b8
Merge pull request #287 from mum4k/243-formdemo
A demonstration of text input form functionality with keyboard navigation.
2020-12-30 02:27:11 -05:00
Jakub Sobon bfd476bd75
Correcting `go run` commands in README. 2020-12-30 02:18:41 -05:00
Jakub Sobon e396a0ede1
Adjusting width of the recorded demo. 2020-12-30 02:14:01 -05:00
Jakub Sobon 5ba573cd74
Moving formdemo under widgets/textinput. 2020-12-30 02:12:37 -05:00
Jakub Sobon 75518b5938
Adding recording of formdemo. 2020-12-30 02:11:37 -05:00
Jakub Sobon c3be258da0
Self-review. 2020-12-30 00:59:39 -05:00
Jakub Sobon ba6224f5ae
Complete demo of a text input form with keyboard navigation. 2020-12-30 00:54:50 -05:00
Jakub Sobon 9a730ded80
Merge pull request #286 from mum4k/243-button-set-callback
Allow updating the callback function on an existing button instance.
2020-12-30 00:28:57 -05:00
Jakub Sobon d30bc47245 Merge branch 'devel' into 243-formdemo 2020-12-30 00:27:32 -05:00
Jakub Sobon 93428e8091
Allow a no-op button with a nil callback. 2020-12-30 00:22:36 -05:00
Jakub Sobon d70bcd1afb
Allow updating the callback function on an existing button instance. 2020-12-30 00:10:55 -05:00
Jakub Sobon fe052262d0
Refactor form construction. 2020-12-29 23:56:11 -05:00