Version 3.0.6 Bug Fix Release
This address some minor bug fixes, and it reduces some of the writing we do to the terminal when changing attributes and using color.
Most of the rest of the commits in this release are related to improving test coverage, and enhancing the mock terminal backend. Note that the very useless SimScreen has been removed, as the MockBackend is far more functional.
Also some demos have moved from _demos to demos -- and they are now verified in the CI/CD. We will be doing this with the rest of the demos over time.
- refactor: Work in progress on new emulator backend by @gdamore in https://github.com/gdamore/tcell/pull/925
- test: cover the rest of the color API by @gdamore in https://github.com/gdamore/tcell/pull/927
- fix: Fix edge for color API (invalid numeric color), add tests for ed… by @gdamore in https://github.com/gdamore/tcell/pull/928
- Continued progress on emulation and tests thereof by @gdamore in https://github.com/gdamore/tcell/pull/929
- test: Add test for cursor mode (25) by @gdamore in https://github.com/gdamore/tcell/pull/930
- test: Add test for automargin by @gdamore in https://github.com/gdamore/tcell/pull/931
- Fix wide encoding, and add unicode tests for emulator by @gdamore in https://github.com/gdamore/tcell/pull/932
- chore: move Tty to sub-subpackage (including WindowSize) by @gdamore in https://github.com/gdamore/tcell/pull/933
- fix(emulator): Discriminate between deleted cells and cells with a sp… by @gdamore in https://github.com/gdamore/tcell/pull/934
- feat(emulator): Add more SGR attributes, basic ANSI color, including … by @gdamore in https://github.com/gdamore/tcell/pull/935
- feat(emulator): Start of keyboard processing (very preliminary) by @gdamore in https://github.com/gdamore/tcell/pull/936
- Use hello world with mock to increase coverage (and fix bugs it uncovered) by @gdamore in https://github.com/gdamore/tcell/pull/937
- fix: Fix case of NO_COLOR being set but empty; added trivial screen i… by @gdamore in https://github.com/gdamore/tcell/pull/938
- refactor: Refactor the beep demo into a testable package by @gdamore in https://github.com/gdamore/tcell/pull/939
- feat(emulator): Add Titler, and tests for it. by @gdamore in https://github.com/gdamore/tcell/pull/940
- tests: support bits for webasm to support common tests, update style … by @gdamore in https://github.com/gdamore/tcell/pull/942
- feat: Complete legacy keyboard protocol for extra keys by @gdamore in https://github.com/gdamore/tcell/pull/943
- test: add missing linux and extra modifier tests by @gdamore in https://github.com/gdamore/tcell/pull/944
- fix(emulator): fix extended attributes response by @gdamore in https://github.com/gdamore/tcell/pull/945
- Improve legacy mapping in emulator by @gdamore in https://github.com/gdamore/tcell/pull/946
- docs: Add macOS status, and use custom logo lab for Windows 11 logo by @gdamore in https://github.com/gdamore/tcell/pull/947
- Various refactoring improvements, eliminate redundant SGR 39 / 49. by @gdamore in https://github.com/gdamore/tcell/pull/948
- chore: Minor improvements, fix possible bug in stopQ handling (windows) by @gdamore in https://github.com/gdamore/tcell/pull/949
- docs: improve the badges by @gdamore in https://github.com/gdamore/tcell/pull/950
- Add emulation resize support by @gdamore in https://github.com/gdamore/tcell/pull/951
- chore: color test should use mock instead of simscreen by @gdamore in https://github.com/gdamore/tcell/pull/952
- test: add basic mouse event test by @gdamore in https://github.com/gdamore/tcell/pull/953
- chore!: Drop the simulation screen and associated tests by @gdamore in https://github.com/gdamore/tcell/pull/954
- feat(emulator): Add tab stop support by @gdamore in https://github.com/gdamore/tcell/pull/955
- chore: move styles demo to demo and add test by @gdamore in https://github.com/gdamore/tcell/pull/956
- feat(emulator): Add VPR and VPA support by @gdamore in https://github.com/gdamore/tcell/pull/957
- feat(emulator): Add cursor application key mode by @gdamore in https://github.com/gdamore/tcell/pull/958
Full Changelog: https://github.com/gdamore/tcell/compare/v3.0.5...v3.0.6
Version 3.0.5 Bug Fix and Refactor Release
This release is principally a bug fix release, but we also took this opportunity to remove the views sub-package.
This is technically a breaking change, but we don't think anyone has converted to v3 and is using the views package, and we meant to to do this as part of v3 originally.
The content that was in the views package might be introduced in another repository later, if desired. (If you were using the views package and miss it, please let us know! We'd be happy to resurrect it in another sub package.)
- test: implement more of the mock screen by @gdamore in https://github.com/gdamore/tcell/pull/917
- Minor refactoring for common VT definitions into sub package by @gdamore in https://github.com/gdamore/tcell/pull/918
- chore: More mock related improvements. by @gdamore in https://github.com/gdamore/tcell/pull/919
- Move colors to a subpackage. Fix color count detection. Add API for imageColor package (RGBA). by @gdamore in https://github.com/gdamore/tcell/pull/920
- fix: mouse support missing on macOS terminal by @gdamore in https://github.com/gdamore/tcell/pull/922
- fix: Fix tty handling to be simpler, and not leak resources. by @gdamore in https://github.com/gdamore/tcell/pull/923
- chore!: Remove the views package by @gdamore in https://github.com/gdamore/tcell/pull/924
Full Changelog: https://github.com/gdamore/tcell/compare/v3.0.4...v3.0.5
Version 2.13.5 Bug Fix Release
This fixes a regression where Control-J was being reported as KeyEnter.
Full Changelog: https://github.com/gdamore/tcell/compare/v2.13.4...v2.13.5
Version 3.0.4 Bug Fix Release (Includes Breaking Change)
This release contains one important bug fix (for Control-J reporting on legacy terminals), and some refactoring intended to make feature detection and reporting better. There is a breaking change here in the TTY API, but we don't think anyone has adopted the v3 version of this yet, which is why we felt we could make this change.
- docs: Update some left over references to Rune() to Str() in docs (fi… by @gdamore in https://github.com/gdamore/tcell/pull/903
- refactor: Use common base EventTime for events by @gdamore in https://github.com/gdamore/tcell/pull/906
- refactor: defer registering resize handler (signal handler) until Not… by @gdamore in https://github.com/gdamore/tcell/pull/907
- chore(deps): bump codecov/codecov-action from 5.5.1 to 5.5.2 by @dependabot[bot] in https://github.com/gdamore/tcell/pull/905
- Minor tty refactoring in anticipation of future negotiation work by @gdamore in https://github.com/gdamore/tcell/pull/908
- feature: add negotiation step for terminal attributes by @gdamore in https://github.com/gdamore/tcell/pull/909
- feat: Add terminal information to handshake, make iTerm2 notification… by @gdamore in https://github.com/gdamore/tcell/pull/910
- feat: support inline resize and refactor private mode support by @gdamore in https://github.com/gdamore/tcell/pull/912
- Fix for conflict with RXVT CSI and private mode queries, conditionally enable mouse reporting by @gdamore in https://github.com/gdamore/tcell/pull/913
- tests: add test for dec private mode parser by @gdamore in https://github.com/gdamore/tcell/pull/914
- fix: ctrl-J is reported as KeyCR/KeyEnter on legacy terminals (fixes … by @gdamore in https://github.com/gdamore/tcell/pull/915
- test: create initial mock tty for testing by @gdamore in https://github.com/gdamore/tcell/pull/916
Full Changelog: https://github.com/gdamore/tcell/compare/v3.0.3...v3.0.4
Version 2.13.4 Bug Fix
- Fix various keyboard handling issues found in version 2 by @gdamore in https://github.com/gdamore/tcell/pull/904
(Note that v2.13.3 was accidentally tagged on the wrong branch -- it had the same content, but the git history was wrong -- we've deleted the tag.)
Note that folks relying on KeyBacktab will find that the regression where on some terminals it became KeyTab+ModShift is now fixed.
Full Changelog: https://github.com/gdamore/tcell/compare/v2.13.2...v2.13.4
Version 3.0.3 Bug Fix Release
- fix: KeyTab + ModShift shoudl be KeyBacktab by @gdamore in https://github.com/gdamore/tcell/pull/891
- chore: simplify the handling of the rxvt key codes by @gdamore in https://github.com/gdamore/tcell/pull/892
- chore: remove redundant intermediate csi checks by @gdamore in https://github.com/gdamore/tcell/pull/893
- fix: add legacy SS3 modifier support by @gdamore in https://github.com/gdamore/tcell/pull/894
- fix: Fix input handling for ESC-char as a meta prefix. by @gdamore in https://github.com/gdamore/tcell/pull/895
- fix: fix strikethrough SGR sequence by @gdamore in https://github.com/gdamore/tcell/pull/896
- chore(deps): bump golang.org/x/sys from 0.38.0 to 0.39.0 by @dependabot[bot] in https://github.com/gdamore/tcell/pull/900
- chore(deps): bump golang.org/x/text from 0.31.0 to 0.32.0 by @dependabot[bot] in https://github.com/gdamore/tcell/pull/898
- chore(deps): bump golang.org/x/term from 0.37.0 to 0.38.0 by @dependabot[bot] in https://github.com/gdamore/tcell/pull/899
- fix: fix terminal key protocol handling by @gdamore in https://github.com/gdamore/tcell/pull/902
Full Changelog: https://github.com/gdamore/tcell/compare/v3.0.2...v3.0.3
Version 2.13.2 Bug Fix Release
This fixes a problem that affected some applications on Windows (wrong terminal dimensions due to an off-by-one error.)
Full Changelog: https://github.com/gdamore/tcell/compare/v2.13.1...v2.13.2
Version 3.0.2 Bug Fix Release
- fix(windows): remove incorrect +1 from console dimension calculations by @ayn2op in https://github.com/gdamore/tcell/pull/890
- @ayn2op made their first contribution in https://github.com/gdamore/tcell/pull/890
Full Changelog: https://github.com/gdamore/tcell/compare/v3.0.1...v3.0.2
Version 3.0.1 Bug Fix Release
One very unfortunate bug with key handling (capital letters not working) was found just after we released 3.0.0.
This release also adds some accessors which should have been in 3.0.0 but weren't. Technically this probably should have been a minor release, but we don't think anyone is likely to have started using 3.0.0 for real (particularly with the nasty bug we fixed), so we decided not to make it a minor release.
With this direct Attributes use is no longer recommended. Use the accessors on Style instead.
- Add style accessors by @gdamore in https://github.com/gdamore/tcell/pull/880
- fix: Shift+letter A-Z treated as Ctrl+letter by @tihirvon in https://github.com/gdamore/tcell/pull/882
- fix: report control space properly in legacy by @gdamore in https://github.com/gdamore/tcell/pull/883
- CodeRabbit Generated Unit Tests: Add comprehensive unit tests for input.go null-byte handling by @coderabbitai[bot] in https://github.com/gdamore/tcell/pull/884
- @coderabbitai[bot] made their first contribution in https://github.com/gdamore/tcell/pull/884
Full Changelog: https://github.com/gdamore/tcell/compare/v3.0.0...v3.0.1
Version 3.0.0 Major Release
Version 3 is a major new release. It introduces improvements in the event handling, richer support for more keys and modifier reports, more functionality out of the box, desktop notification support, simpler APIs for emitting strings directly to the screen, and numerous bug fixes.
Every Tcell version 2 application will need some modifications to work with Tcell version 3. See the CHANGESv3.md document for more information.
Full Changelog: https://github.com/gdamore/tcell/compare/v2.13.0...v3.0.0