dependabot[bot] opened a new pull request, #227: URL: https://github.com/apache/camel-kit/pull/227
Bumps `tamboui.version` from 0.1.0 to 0.7.0. Updates `dev.tamboui:tamboui-image` from 0.1.0 to 0.7.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tamboui/tamboui/releases">dev.tamboui:tamboui-image's releases</a>.</em></p> <blockquote> <h2>Release v0.7.0</h2> <h1>The one with Keyboards</h1> <p>A big challenge with TUI applications is that keyboard events can be hard to handle uniformly and until recently getting info about modifier keys (think alt,ctrl,shift,command,hyper etc.) reliably was almost to truly impossible. Luckily <a href="https://sw.kovidgoyal.net/kitty/keyboard-protocol/">Kitty Keyboard Protocol</a> started being supported by all modern emulators and with version 0.7 TamboUI supports it too.</p> <p>By default we run in AUTO mode which should work everywhere as it tries to enable Kitty Keyboard protocol but if termianl does not support it the emulator should be ignoring the activations. Meaning in case of error/incompatiblity it just falls back to legacy mode.</p> <p>If the terminal emulator supports Kitty Keyboard Protocol you will have modifier information and can have code like this in your event handlers:</p> <pre lang="java"><code>var m = event.modifiers(); if (m.ctrl() && m.superKey()) { // something when ctrl and super is active } </code></pre> <p>In <code>.LEGACY</code> and <code>.AUTO</code> mode you only get key presses but if you also want releases (great for games or UI's where you want <em>full</em> control over what happens based on keyboard) you can enable FULL mode:</p> <pre><code>TuiConfig.builder() .keyboardProtocol(KeyboardProtocol.FULL). .build(); </code></pre> <p>We also updated most examples and docs to use semantic key predicates rather than access the raw keycodes - this should make editing and hotkey experience more uniform.</p> <p>Talking about uniformity we also made the loading of keybindings deterministic so last one overrides and we will load a <code><binding>-<osname>.properties</code> when you load a <code><binding></code>. That allows us to define common for all OS's keybindings for actions but when there are differences (like Mac using <code>cmd</code> rather than <code>ctrl</code> as used on Linux and Windows) you and users can have their platforms default meaning.</p> <p>Give it a try and let us know if works for you !</p> <h2>Related RPs/issues:</h2> <ul> <li><strong>Kitty Keyboard Protocol support</strong> — rich key events with proper modifiers and sensible defaults (<a href="https://redirect.github.com/tamboui/tamboui/issues/446">#446</a>/<a href="https://redirect.github.com/tamboui/tamboui/issues/592">#592</a>), plus runtime detection of whether the terminal honors it (<a href="https://redirect.github.com/tamboui/tamboui/issues/610">#610</a>)</li> <li><strong>Semantic key predicates everywhere</strong> — new <code>KeyEvent.isTyping()</code> + <code>TextEditing</code>; text widgets are now driven by semantic predicates instead of raw codes (<a href="https://redirect.github.com/tamboui/tamboui/issues/600">#600</a>/<a href="https://redirect.github.com/tamboui/tamboui/issues/612">#612</a>)</li> <li><strong>Word-wise editing</strong> — Ctrl+Left/Right to move, Ctrl+Backspace/Delete to delete by word (<a href="https://redirect.github.com/tamboui/tamboui/issues/616">#616</a>)</li> <li>Hardened input decoding: ESC-prefix Alt keys, <code>modifyOtherKeys</code>, legacy Alt+control (<a href="https://redirect.github.com/tamboui/tamboui/issues/611">#611</a>); mis-decoded key/mouse sequences (<a href="https://redirect.github.com/tamboui/tamboui/issues/517">#517</a>); duplicate handler firing on one keypress (<a href="https://redirect.github.com/tamboui/tamboui/issues/481">#481</a>)</li> <li><strong>Visual event inspector + ASCII mouse device</strong> (<a href="https://redirect.github.com/tamboui/tamboui/issues/448">#448</a>/<a href="https://redirect.github.com/tamboui/tamboui/issues/585">#585</a>)</li> </ul> <h2>Mouse support for recording</h2> <p>In previous release we made the recorder feature accessible via API. The recorder feature allow you to write <code>.tape</code> files that defines keyboard input to drive a demo to then be saved as ascii animations. We use it to drive the widgets demo/animations, but you can use it too for your own apps.</p> <p>In 0.7 we added mouse support to express scroll up/down, drag and mouse/trackpad clicks.</p> <pre lang="tape"><code># Clicks - "Command × y" Click 10 5 # left click at column 10 row 5 RightClick 10 5 MiddleClick 10 5 # Press / release separately (e.g. hold while something else happens ) MouseDown 10 5 </tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tamboui/tamboui/commit/6a8c51348084f8491d260a770d4a2d87d796407e"><code>6a8c513</code></a> [release] Releasing version 0.7.0</li> <li><a href="https://github.com/tamboui/tamboui/commit/b691282753bac511a4cdc08aa5ba3bc04639f418"><code>b691282</code></a> fix: action handler missing layout</li> <li><a href="https://github.com/tamboui/tamboui/commit/457833d64d5dddf1b7c2552c0db3c3705cc595f9"><code>457833d</code></a> docs(chart): clarify out-of-range and missing-point behaviour (<a href="https://redirect.github.com/tamboui/tamboui/issues/630">#630</a>)</li> <li><a href="https://github.com/tamboui/tamboui/commit/0b3a4ed26eae92c381c81f203a9e527d68b858d6"><code>0b3a4ed</code></a> perf: fast path and linear constraints for Layout.split (<a href="https://redirect.github.com/tamboui/tamboui/issues/559">#559</a>) (<a href="https://redirect.github.com/tamboui/tamboui/issues/560">#560</a>)</li> <li><a href="https://github.com/tamboui/tamboui/commit/452397ba808f3c43a6ca0d61b3b4b71ccc88c72e"><code>452397b</code></a> fix: layout spacing taken out twice, and Fill(0) breaking the solver (<a href="https://redirect.github.com/tamboui/tamboui/issues/468">#468</a>)</li> <li><a href="https://github.com/tamboui/tamboui/commit/6317073bc824f5f366bf95c4276466c2411e0da2"><code>6317073</code></a> fix: a chart point far outside the axis bounds can hang rendering or draw a s...</li> <li><a href="https://github.com/tamboui/tamboui/commit/b7b111a414e14aed7d9f8b3a6260d1873c4cb3de"><code>b7b111a</code></a> fix: text() with \n renders each line on its own row (<a href="https://redirect.github.com/tamboui/tamboui/issues/469">#469</a>)</li> <li><a href="https://github.com/tamboui/tamboui/commit/f316a612252f82c6be482e88171f989cc7d5d01e"><code>f316a61</code></a> fix: one key press runs a toolkit element's key handler several times (<a href="https://redirect.github.com/tamboui/tamboui/issues/481">#481</a>)</li> <li><a href="https://github.com/tamboui/tamboui/commit/dd9b7fb5ff62ff871cafc9e8a0eecbfd9d77ef86"><code>dd9b7fb</code></a> fix: q quits with the emacs, IntelliJ and VS Code bindings, and a bindings fi...</li> <li><a href="https://github.com/tamboui/tamboui/commit/3046c90fd06065ea8536fb90fc62624f704206fe"><code>3046c90</code></a> refactor(bindings): make platform binding overlays OS-generic, not macOS-only...</li> <li>Additional commits viewable in <a href="https://github.com/tamboui/tamboui/compare/0.1.0...v0.7.0">compare view</a></li> </ul> </details> <br /> Updates `dev.tamboui:tamboui-core` from 0.1.0 to 0.7.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tamboui/tamboui/releases">dev.tamboui:tamboui-core's releases</a>.</em></p> <blockquote> <h2>Release v0.7.0</h2> <h1>The one with Keyboards</h1> <p>A big challenge with TUI applications is that keyboard events can be hard to handle uniformly and until recently getting info about modifier keys (think alt,ctrl,shift,command,hyper etc.) reliably was almost to truly impossible. Luckily <a href="https://sw.kovidgoyal.net/kitty/keyboard-protocol/">Kitty Keyboard Protocol</a> started being supported by all modern emulators and with version 0.7 TamboUI supports it too.</p> <p>By default we run in AUTO mode which should work everywhere as it tries to enable Kitty Keyboard protocol but if termianl does not support it the emulator should be ignoring the activations. Meaning in case of error/incompatiblity it just falls back to legacy mode.</p> <p>If the terminal emulator supports Kitty Keyboard Protocol you will have modifier information and can have code like this in your event handlers:</p> <pre lang="java"><code>var m = event.modifiers(); if (m.ctrl() && m.superKey()) { // something when ctrl and super is active } </code></pre> <p>In <code>.LEGACY</code> and <code>.AUTO</code> mode you only get key presses but if you also want releases (great for games or UI's where you want <em>full</em> control over what happens based on keyboard) you can enable FULL mode:</p> <pre><code>TuiConfig.builder() .keyboardProtocol(KeyboardProtocol.FULL). .build(); </code></pre> <p>We also updated most examples and docs to use semantic key predicates rather than access the raw keycodes - this should make editing and hotkey experience more uniform.</p> <p>Talking about uniformity we also made the loading of keybindings deterministic so last one overrides and we will load a <code><binding>-<osname>.properties</code> when you load a <code><binding></code>. That allows us to define common for all OS's keybindings for actions but when there are differences (like Mac using <code>cmd</code> rather than <code>ctrl</code> as used on Linux and Windows) you and users can have their platforms default meaning.</p> <p>Give it a try and let us know if works for you !</p> <h2>Related RPs/issues:</h2> <ul> <li><strong>Kitty Keyboard Protocol support</strong> — rich key events with proper modifiers and sensible defaults (<a href="https://redirect.github.com/tamboui/tamboui/issues/446">#446</a>/<a href="https://redirect.github.com/tamboui/tamboui/issues/592">#592</a>), plus runtime detection of whether the terminal honors it (<a href="https://redirect.github.com/tamboui/tamboui/issues/610">#610</a>)</li> <li><strong>Semantic key predicates everywhere</strong> — new <code>KeyEvent.isTyping()</code> + <code>TextEditing</code>; text widgets are now driven by semantic predicates instead of raw codes (<a href="https://redirect.github.com/tamboui/tamboui/issues/600">#600</a>/<a href="https://redirect.github.com/tamboui/tamboui/issues/612">#612</a>)</li> <li><strong>Word-wise editing</strong> — Ctrl+Left/Right to move, Ctrl+Backspace/Delete to delete by word (<a href="https://redirect.github.com/tamboui/tamboui/issues/616">#616</a>)</li> <li>Hardened input decoding: ESC-prefix Alt keys, <code>modifyOtherKeys</code>, legacy Alt+control (<a href="https://redirect.github.com/tamboui/tamboui/issues/611">#611</a>); mis-decoded key/mouse sequences (<a href="https://redirect.github.com/tamboui/tamboui/issues/517">#517</a>); duplicate handler firing on one keypress (<a href="https://redirect.github.com/tamboui/tamboui/issues/481">#481</a>)</li> <li><strong>Visual event inspector + ASCII mouse device</strong> (<a href="https://redirect.github.com/tamboui/tamboui/issues/448">#448</a>/<a href="https://redirect.github.com/tamboui/tamboui/issues/585">#585</a>)</li> </ul> <h2>Mouse support for recording</h2> <p>In previous release we made the recorder feature accessible via API. The recorder feature allow you to write <code>.tape</code> files that defines keyboard input to drive a demo to then be saved as ascii animations. We use it to drive the widgets demo/animations, but you can use it too for your own apps.</p> <p>In 0.7 we added mouse support to express scroll up/down, drag and mouse/trackpad clicks.</p> <pre lang="tape"><code># Clicks - "Command × y" Click 10 5 # left click at column 10 row 5 RightClick 10 5 MiddleClick 10 5 # Press / release separately (e.g. hold while something else happens ) MouseDown 10 5 </tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tamboui/tamboui/commit/6a8c51348084f8491d260a770d4a2d87d796407e"><code>6a8c513</code></a> [release] Releasing version 0.7.0</li> <li><a href="https://github.com/tamboui/tamboui/commit/b691282753bac511a4cdc08aa5ba3bc04639f418"><code>b691282</code></a> fix: action handler missing layout</li> <li><a href="https://github.com/tamboui/tamboui/commit/457833d64d5dddf1b7c2552c0db3c3705cc595f9"><code>457833d</code></a> docs(chart): clarify out-of-range and missing-point behaviour (<a href="https://redirect.github.com/tamboui/tamboui/issues/630">#630</a>)</li> <li><a href="https://github.com/tamboui/tamboui/commit/0b3a4ed26eae92c381c81f203a9e527d68b858d6"><code>0b3a4ed</code></a> perf: fast path and linear constraints for Layout.split (<a href="https://redirect.github.com/tamboui/tamboui/issues/559">#559</a>) (<a href="https://redirect.github.com/tamboui/tamboui/issues/560">#560</a>)</li> <li><a href="https://github.com/tamboui/tamboui/commit/452397ba808f3c43a6ca0d61b3b4b71ccc88c72e"><code>452397b</code></a> fix: layout spacing taken out twice, and Fill(0) breaking the solver (<a href="https://redirect.github.com/tamboui/tamboui/issues/468">#468</a>)</li> <li><a href="https://github.com/tamboui/tamboui/commit/6317073bc824f5f366bf95c4276466c2411e0da2"><code>6317073</code></a> fix: a chart point far outside the axis bounds can hang rendering or draw a s...</li> <li><a href="https://github.com/tamboui/tamboui/commit/b7b111a414e14aed7d9f8b3a6260d1873c4cb3de"><code>b7b111a</code></a> fix: text() with \n renders each line on its own row (<a href="https://redirect.github.com/tamboui/tamboui/issues/469">#469</a>)</li> <li><a href="https://github.com/tamboui/tamboui/commit/f316a612252f82c6be482e88171f989cc7d5d01e"><code>f316a61</code></a> fix: one key press runs a toolkit element's key handler several times (<a href="https://redirect.github.com/tamboui/tamboui/issues/481">#481</a>)</li> <li><a href="https://github.com/tamboui/tamboui/commit/dd9b7fb5ff62ff871cafc9e8a0eecbfd9d77ef86"><code>dd9b7fb</code></a> fix: q quits with the emacs, IntelliJ and VS Code bindings, and a bindings fi...</li> <li><a href="https://github.com/tamboui/tamboui/commit/3046c90fd06065ea8536fb90fc62624f704206fe"><code>3046c90</code></a> refactor(bindings): make platform binding overlays OS-generic, not macOS-only...</li> <li>Additional commits viewable in <a href="https://github.com/tamboui/tamboui/compare/0.1.0...v0.7.0">compare view</a></li> </ul> </details> <br /> Updates `dev.tamboui:tamboui-tui` from 0.1.0 to 0.7.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tamboui/tamboui/releases">dev.tamboui:tamboui-tui's releases</a>.</em></p> <blockquote> <h2>Release v0.7.0</h2> <h1>The one with Keyboards</h1> <p>A big challenge with TUI applications is that keyboard events can be hard to handle uniformly and until recently getting info about modifier keys (think alt,ctrl,shift,command,hyper etc.) reliably was almost to truly impossible. Luckily <a href="https://sw.kovidgoyal.net/kitty/keyboard-protocol/">Kitty Keyboard Protocol</a> started being supported by all modern emulators and with version 0.7 TamboUI supports it too.</p> <p>By default we run in AUTO mode which should work everywhere as it tries to enable Kitty Keyboard protocol but if termianl does not support it the emulator should be ignoring the activations. Meaning in case of error/incompatiblity it just falls back to legacy mode.</p> <p>If the terminal emulator supports Kitty Keyboard Protocol you will have modifier information and can have code like this in your event handlers:</p> <pre lang="java"><code>var m = event.modifiers(); if (m.ctrl() && m.superKey()) { // something when ctrl and super is active } </code></pre> <p>In <code>.LEGACY</code> and <code>.AUTO</code> mode you only get key presses but if you also want releases (great for games or UI's where you want <em>full</em> control over what happens based on keyboard) you can enable FULL mode:</p> <pre><code>TuiConfig.builder() .keyboardProtocol(KeyboardProtocol.FULL). .build(); </code></pre> <p>We also updated most examples and docs to use semantic key predicates rather than access the raw keycodes - this should make editing and hotkey experience more uniform.</p> <p>Talking about uniformity we also made the loading of keybindings deterministic so last one overrides and we will load a <code><binding>-<osname>.properties</code> when you load a <code><binding></code>. That allows us to define common for all OS's keybindings for actions but when there are differences (like Mac using <code>cmd</code> rather than <code>ctrl</code> as used on Linux and Windows) you and users can have their platforms default meaning.</p> <p>Give it a try and let us know if works for you !</p> <h2>Related RPs/issues:</h2> <ul> <li><strong>Kitty Keyboard Protocol support</strong> — rich key events with proper modifiers and sensible defaults (<a href="https://redirect.github.com/tamboui/tamboui/issues/446">#446</a>/<a href="https://redirect.github.com/tamboui/tamboui/issues/592">#592</a>), plus runtime detection of whether the terminal honors it (<a href="https://redirect.github.com/tamboui/tamboui/issues/610">#610</a>)</li> <li><strong>Semantic key predicates everywhere</strong> — new <code>KeyEvent.isTyping()</code> + <code>TextEditing</code>; text widgets are now driven by semantic predicates instead of raw codes (<a href="https://redirect.github.com/tamboui/tamboui/issues/600">#600</a>/<a href="https://redirect.github.com/tamboui/tamboui/issues/612">#612</a>)</li> <li><strong>Word-wise editing</strong> — Ctrl+Left/Right to move, Ctrl+Backspace/Delete to delete by word (<a href="https://redirect.github.com/tamboui/tamboui/issues/616">#616</a>)</li> <li>Hardened input decoding: ESC-prefix Alt keys, <code>modifyOtherKeys</code>, legacy Alt+control (<a href="https://redirect.github.com/tamboui/tamboui/issues/611">#611</a>); mis-decoded key/mouse sequences (<a href="https://redirect.github.com/tamboui/tamboui/issues/517">#517</a>); duplicate handler firing on one keypress (<a href="https://redirect.github.com/tamboui/tamboui/issues/481">#481</a>)</li> <li><strong>Visual event inspector + ASCII mouse device</strong> (<a href="https://redirect.github.com/tamboui/tamboui/issues/448">#448</a>/<a href="https://redirect.github.com/tamboui/tamboui/issues/585">#585</a>)</li> </ul> <h2>Mouse support for recording</h2> <p>In previous release we made the recorder feature accessible via API. The recorder feature allow you to write <code>.tape</code> files that defines keyboard input to drive a demo to then be saved as ascii animations. We use it to drive the widgets demo/animations, but you can use it too for your own apps.</p> <p>In 0.7 we added mouse support to express scroll up/down, drag and mouse/trackpad clicks.</p> <pre lang="tape"><code># Clicks - "Command × y" Click 10 5 # left click at column 10 row 5 RightClick 10 5 MiddleClick 10 5 # Press / release separately (e.g. hold while something else happens ) MouseDown 10 5 </tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tamboui/tamboui/commit/6a8c51348084f8491d260a770d4a2d87d796407e"><code>6a8c513</code></a> [release] Releasing version 0.7.0</li> <li><a href="https://github.com/tamboui/tamboui/commit/b691282753bac511a4cdc08aa5ba3bc04639f418"><code>b691282</code></a> fix: action handler missing layout</li> <li><a href="https://github.com/tamboui/tamboui/commit/457833d64d5dddf1b7c2552c0db3c3705cc595f9"><code>457833d</code></a> docs(chart): clarify out-of-range and missing-point behaviour (<a href="https://redirect.github.com/tamboui/tamboui/issues/630">#630</a>)</li> <li><a href="https://github.com/tamboui/tamboui/commit/0b3a4ed26eae92c381c81f203a9e527d68b858d6"><code>0b3a4ed</code></a> perf: fast path and linear constraints for Layout.split (<a href="https://redirect.github.com/tamboui/tamboui/issues/559">#559</a>) (<a href="https://redirect.github.com/tamboui/tamboui/issues/560">#560</a>)</li> <li><a href="https://github.com/tamboui/tamboui/commit/452397ba808f3c43a6ca0d61b3b4b71ccc88c72e"><code>452397b</code></a> fix: layout spacing taken out twice, and Fill(0) breaking the solver (<a href="https://redirect.github.com/tamboui/tamboui/issues/468">#468</a>)</li> <li><a href="https://github.com/tamboui/tamboui/commit/6317073bc824f5f366bf95c4276466c2411e0da2"><code>6317073</code></a> fix: a chart point far outside the axis bounds can hang rendering or draw a s...</li> <li><a href="https://github.com/tamboui/tamboui/commit/b7b111a414e14aed7d9f8b3a6260d1873c4cb3de"><code>b7b111a</code></a> fix: text() with \n renders each line on its own row (<a href="https://redirect.github.com/tamboui/tamboui/issues/469">#469</a>)</li> <li><a href="https://github.com/tamboui/tamboui/commit/f316a612252f82c6be482e88171f989cc7d5d01e"><code>f316a61</code></a> fix: one key press runs a toolkit element's key handler several times (<a href="https://redirect.github.com/tamboui/tamboui/issues/481">#481</a>)</li> <li><a href="https://github.com/tamboui/tamboui/commit/dd9b7fb5ff62ff871cafc9e8a0eecbfd9d77ef86"><code>dd9b7fb</code></a> fix: q quits with the emacs, IntelliJ and VS Code bindings, and a bindings fi...</li> <li><a href="https://github.com/tamboui/tamboui/commit/3046c90fd06065ea8536fb90fc62624f704206fe"><code>3046c90</code></a> refactor(bindings): make platform binding overlays OS-generic, not macOS-only...</li> <li>Additional commits viewable in <a href="https://github.com/tamboui/tamboui/compare/0.1.0...v0.7.0">compare view</a></li> </ul> </details> <br /> Updates `dev.tamboui:tamboui-widgets` from 0.1.0 to 0.7.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tamboui/tamboui/releases">dev.tamboui:tamboui-widgets's releases</a>.</em></p> <blockquote> <h2>Release v0.7.0</h2> <h1>The one with Keyboards</h1> <p>A big challenge with TUI applications is that keyboard events can be hard to handle uniformly and until recently getting info about modifier keys (think alt,ctrl,shift,command,hyper etc.) reliably was almost to truly impossible. Luckily <a href="https://sw.kovidgoyal.net/kitty/keyboard-protocol/">Kitty Keyboard Protocol</a> started being supported by all modern emulators and with version 0.7 TamboUI supports it too.</p> <p>By default we run in AUTO mode which should work everywhere as it tries to enable Kitty Keyboard protocol but if termianl does not support it the emulator should be ignoring the activations. Meaning in case of error/incompatiblity it just falls back to legacy mode.</p> <p>If the terminal emulator supports Kitty Keyboard Protocol you will have modifier information and can have code like this in your event handlers:</p> <pre lang="java"><code>var m = event.modifiers(); if (m.ctrl() && m.superKey()) { // something when ctrl and super is active } </code></pre> <p>In <code>.LEGACY</code> and <code>.AUTO</code> mode you only get key presses but if you also want releases (great for games or UI's where you want <em>full</em> control over what happens based on keyboard) you can enable FULL mode:</p> <pre><code>TuiConfig.builder() .keyboardProtocol(KeyboardProtocol.FULL). .build(); </code></pre> <p>We also updated most examples and docs to use semantic key predicates rather than access the raw keycodes - this should make editing and hotkey experience more uniform.</p> <p>Talking about uniformity we also made the loading of keybindings deterministic so last one overrides and we will load a <code><binding>-<osname>.properties</code> when you load a <code><binding></code>. That allows us to define common for all OS's keybindings for actions but when there are differences (like Mac using <code>cmd</code> rather than <code>ctrl</code> as used on Linux and Windows) you and users can have their platforms default meaning.</p> <p>Give it a try and let us know if works for you !</p> <h2>Related RPs/issues:</h2> <ul> <li><strong>Kitty Keyboard Protocol support</strong> — rich key events with proper modifiers and sensible defaults (<a href="https://redirect.github.com/tamboui/tamboui/issues/446">#446</a>/<a href="https://redirect.github.com/tamboui/tamboui/issues/592">#592</a>), plus runtime detection of whether the terminal honors it (<a href="https://redirect.github.com/tamboui/tamboui/issues/610">#610</a>)</li> <li><strong>Semantic key predicates everywhere</strong> — new <code>KeyEvent.isTyping()</code> + <code>TextEditing</code>; text widgets are now driven by semantic predicates instead of raw codes (<a href="https://redirect.github.com/tamboui/tamboui/issues/600">#600</a>/<a href="https://redirect.github.com/tamboui/tamboui/issues/612">#612</a>)</li> <li><strong>Word-wise editing</strong> — Ctrl+Left/Right to move, Ctrl+Backspace/Delete to delete by word (<a href="https://redirect.github.com/tamboui/tamboui/issues/616">#616</a>)</li> <li>Hardened input decoding: ESC-prefix Alt keys, <code>modifyOtherKeys</code>, legacy Alt+control (<a href="https://redirect.github.com/tamboui/tamboui/issues/611">#611</a>); mis-decoded key/mouse sequences (<a href="https://redirect.github.com/tamboui/tamboui/issues/517">#517</a>); duplicate handler firing on one keypress (<a href="https://redirect.github.com/tamboui/tamboui/issues/481">#481</a>)</li> <li><strong>Visual event inspector + ASCII mouse device</strong> (<a href="https://redirect.github.com/tamboui/tamboui/issues/448">#448</a>/<a href="https://redirect.github.com/tamboui/tamboui/issues/585">#585</a>)</li> </ul> <h2>Mouse support for recording</h2> <p>In previous release we made the recorder feature accessible via API. The recorder feature allow you to write <code>.tape</code> files that defines keyboard input to drive a demo to then be saved as ascii animations. We use it to drive the widgets demo/animations, but you can use it too for your own apps.</p> <p>In 0.7 we added mouse support to express scroll up/down, drag and mouse/trackpad clicks.</p> <pre lang="tape"><code># Clicks - "Command × y" Click 10 5 # left click at column 10 row 5 RightClick 10 5 MiddleClick 10 5 # Press / release separately (e.g. hold while something else happens ) MouseDown 10 5 </tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tamboui/tamboui/commit/6a8c51348084f8491d260a770d4a2d87d796407e"><code>6a8c513</code></a> [release] Releasing version 0.7.0</li> <li><a href="https://github.com/tamboui/tamboui/commit/b691282753bac511a4cdc08aa5ba3bc04639f418"><code>b691282</code></a> fix: action handler missing layout</li> <li><a href="https://github.com/tamboui/tamboui/commit/457833d64d5dddf1b7c2552c0db3c3705cc595f9"><code>457833d</code></a> docs(chart): clarify out-of-range and missing-point behaviour (<a href="https://redirect.github.com/tamboui/tamboui/issues/630">#630</a>)</li> <li><a href="https://github.com/tamboui/tamboui/commit/0b3a4ed26eae92c381c81f203a9e527d68b858d6"><code>0b3a4ed</code></a> perf: fast path and linear constraints for Layout.split (<a href="https://redirect.github.com/tamboui/tamboui/issues/559">#559</a>) (<a href="https://redirect.github.com/tamboui/tamboui/issues/560">#560</a>)</li> <li><a href="https://github.com/tamboui/tamboui/commit/452397ba808f3c43a6ca0d61b3b4b71ccc88c72e"><code>452397b</code></a> fix: layout spacing taken out twice, and Fill(0) breaking the solver (<a href="https://redirect.github.com/tamboui/tamboui/issues/468">#468</a>)</li> <li><a href="https://github.com/tamboui/tamboui/commit/6317073bc824f5f366bf95c4276466c2411e0da2"><code>6317073</code></a> fix: a chart point far outside the axis bounds can hang rendering or draw a s...</li> <li><a href="https://github.com/tamboui/tamboui/commit/b7b111a414e14aed7d9f8b3a6260d1873c4cb3de"><code>b7b111a</code></a> fix: text() with \n renders each line on its own row (<a href="https://redirect.github.com/tamboui/tamboui/issues/469">#469</a>)</li> <li><a href="https://github.com/tamboui/tamboui/commit/f316a612252f82c6be482e88171f989cc7d5d01e"><code>f316a61</code></a> fix: one key press runs a toolkit element's key handler several times (<a href="https://redirect.github.com/tamboui/tamboui/issues/481">#481</a>)</li> <li><a href="https://github.com/tamboui/tamboui/commit/dd9b7fb5ff62ff871cafc9e8a0eecbfd9d77ef86"><code>dd9b7fb</code></a> fix: q quits with the emacs, IntelliJ and VS Code bindings, and a bindings fi...</li> <li><a href="https://github.com/tamboui/tamboui/commit/3046c90fd06065ea8536fb90fc62624f704206fe"><code>3046c90</code></a> refactor(bindings): make platform binding overlays OS-generic, not macOS-only...</li> <li>Additional commits viewable in <a href="https://github.com/tamboui/tamboui/compare/0.1.0...v0.7.0">compare view</a></li> </ul> </details> <br /> Updates `dev.tamboui:tamboui-jline3-backend` from 0.1.0 to 0.7.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tamboui/tamboui/releases">dev.tamboui:tamboui-jline3-backend's releases</a>.</em></p> <blockquote> <h2>Release v0.7.0</h2> <h1>The one with Keyboards</h1> <p>A big challenge with TUI applications is that keyboard events can be hard to handle uniformly and until recently getting info about modifier keys (think alt,ctrl,shift,command,hyper etc.) reliably was almost to truly impossible. Luckily <a href="https://sw.kovidgoyal.net/kitty/keyboard-protocol/">Kitty Keyboard Protocol</a> started being supported by all modern emulators and with version 0.7 TamboUI supports it too.</p> <p>By default we run in AUTO mode which should work everywhere as it tries to enable Kitty Keyboard protocol but if termianl does not support it the emulator should be ignoring the activations. Meaning in case of error/incompatiblity it just falls back to legacy mode.</p> <p>If the terminal emulator supports Kitty Keyboard Protocol you will have modifier information and can have code like this in your event handlers:</p> <pre lang="java"><code>var m = event.modifiers(); if (m.ctrl() && m.superKey()) { // something when ctrl and super is active } </code></pre> <p>In <code>.LEGACY</code> and <code>.AUTO</code> mode you only get key presses but if you also want releases (great for games or UI's where you want <em>full</em> control over what happens based on keyboard) you can enable FULL mode:</p> <pre><code>TuiConfig.builder() .keyboardProtocol(KeyboardProtocol.FULL). .build(); </code></pre> <p>We also updated most examples and docs to use semantic key predicates rather than access the raw keycodes - this should make editing and hotkey experience more uniform.</p> <p>Talking about uniformity we also made the loading of keybindings deterministic so last one overrides and we will load a <code><binding>-<osname>.properties</code> when you load a <code><binding></code>. That allows us to define common for all OS's keybindings for actions but when there are differences (like Mac using <code>cmd</code> rather than <code>ctrl</code> as used on Linux and Windows) you and users can have their platforms default meaning.</p> <p>Give it a try and let us know if works for you !</p> <h2>Related RPs/issues:</h2> <ul> <li><strong>Kitty Keyboard Protocol support</strong> — rich key events with proper modifiers and sensible defaults (<a href="https://redirect.github.com/tamboui/tamboui/issues/446">#446</a>/<a href="https://redirect.github.com/tamboui/tamboui/issues/592">#592</a>), plus runtime detection of whether the terminal honors it (<a href="https://redirect.github.com/tamboui/tamboui/issues/610">#610</a>)</li> <li><strong>Semantic key predicates everywhere</strong> — new <code>KeyEvent.isTyping()</code> + <code>TextEditing</code>; text widgets are now driven by semantic predicates instead of raw codes (<a href="https://redirect.github.com/tamboui/tamboui/issues/600">#600</a>/<a href="https://redirect.github.com/tamboui/tamboui/issues/612">#612</a>)</li> <li><strong>Word-wise editing</strong> — Ctrl+Left/Right to move, Ctrl+Backspace/Delete to delete by word (<a href="https://redirect.github.com/tamboui/tamboui/issues/616">#616</a>)</li> <li>Hardened input decoding: ESC-prefix Alt keys, <code>modifyOtherKeys</code>, legacy Alt+control (<a href="https://redirect.github.com/tamboui/tamboui/issues/611">#611</a>); mis-decoded key/mouse sequences (<a href="https://redirect.github.com/tamboui/tamboui/issues/517">#517</a>); duplicate handler firing on one keypress (<a href="https://redirect.github.com/tamboui/tamboui/issues/481">#481</a>)</li> <li><strong>Visual event inspector + ASCII mouse device</strong> (<a href="https://redirect.github.com/tamboui/tamboui/issues/448">#448</a>/<a href="https://redirect.github.com/tamboui/tamboui/issues/585">#585</a>)</li> </ul> <h2>Mouse support for recording</h2> <p>In previous release we made the recorder feature accessible via API. The recorder feature allow you to write <code>.tape</code> files that defines keyboard input to drive a demo to then be saved as ascii animations. We use it to drive the widgets demo/animations, but you can use it too for your own apps.</p> <p>In 0.7 we added mouse support to express scroll up/down, drag and mouse/trackpad clicks.</p> <pre lang="tape"><code># Clicks - "Command × y" Click 10 5 # left click at column 10 row 5 RightClick 10 5 MiddleClick 10 5 # Press / release separately (e.g. hold while something else happens ) MouseDown 10 5 </tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tamboui/tamboui/commit/6a8c51348084f8491d260a770d4a2d87d796407e"><code>6a8c513</code></a> [release] Releasing version 0.7.0</li> <li><a href="https://github.com/tamboui/tamboui/commit/b691282753bac511a4cdc08aa5ba3bc04639f418"><code>b691282</code></a> fix: action handler missing layout</li> <li><a href="https://github.com/tamboui/tamboui/commit/457833d64d5dddf1b7c2552c0db3c3705cc595f9"><code>457833d</code></a> docs(chart): clarify out-of-range and missing-point behaviour (<a href="https://redirect.github.com/tamboui/tamboui/issues/630">#630</a>)</li> <li><a href="https://github.com/tamboui/tamboui/commit/0b3a4ed26eae92c381c81f203a9e527d68b858d6"><code>0b3a4ed</code></a> perf: fast path and linear constraints for Layout.split (<a href="https://redirect.github.com/tamboui/tamboui/issues/559">#559</a>) (<a href="https://redirect.github.com/tamboui/tamboui/issues/560">#560</a>)</li> <li><a href="https://github.com/tamboui/tamboui/commit/452397ba808f3c43a6ca0d61b3b4b71ccc88c72e"><code>452397b</code></a> fix: layout spacing taken out twice, and Fill(0) breaking the solver (<a href="https://redirect.github.com/tamboui/tamboui/issues/468">#468</a>)</li> <li><a href="https://github.com/tamboui/tamboui/commit/6317073bc824f5f366bf95c4276466c2411e0da2"><code>6317073</code></a> fix: a chart point far outside the axis bounds can hang rendering or draw a s...</li> <li><a href="https://github.com/tamboui/tamboui/commit/b7b111a414e14aed7d9f8b3a6260d1873c4cb3de"><code>b7b111a</code></a> fix: text() with \n renders each line on its own row (<a href="https://redirect.github.com/tamboui/tamboui/issues/469">#469</a>)</li> <li><a href="https://github.com/tamboui/tamboui/commit/f316a612252f82c6be482e88171f989cc7d5d01e"><code>f316a61</code></a> fix: one key press runs a toolkit element's key handler several times (<a href="https://redirect.github.com/tamboui/tamboui/issues/481">#481</a>)</li> <li><a href="https://github.com/tamboui/tamboui/commit/dd9b7fb5ff62ff871cafc9e8a0eecbfd9d77ef86"><code>dd9b7fb</code></a> fix: q quits with the emacs, IntelliJ and VS Code bindings, and a bindings fi...</li> <li><a href="https://github.com/tamboui/tamboui/commit/3046c90fd06065ea8536fb90fc62624f704206fe"><code>3046c90</code></a> refactor(bindings): make platform binding overlays OS-generic, not macOS-only...</li> <li>Additional commits viewable in <a href="https://github.com/tamboui/tamboui/compare/0.1.0...v0.7.0">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
