Guillaume Nodet created CAMEL-23727:
---------------------------------------

             Summary: camel-jbang - TUI shell panel improvements
                 Key: CAMEL-23727
                 URL: https://issues.apache.org/jira/browse/CAMEL-23727
             Project: Camel
          Issue Type: Improvement
          Components: camel-jbang
            Reporter: Guillaume Nodet
             Fix For: 4.x


Follow-up improvements for the TUI shell panel (CAMEL-23635):

1. *Full-screen command integration* — Commands like `log`, `top` take over the 
virtual terminal because they expect to own the full screen. Options:
   - Detect embedded context via EnvironmentHelper and adjust behavior (stream 
instead of full-screen)
   - Redirect to the existing TUI tab (e.g., `log` switches to Log tab)

2. *Proper borders* — The shell panel uses a simple separator line. A proper 
Block border with rounded corners would look better but needs TamboUI rendering 
investigation (previous attempts with BorderType.ROUNDED were not visible).

3. *Mouse support* — Mouse scroll in the shell panel scrolls the native 
terminal scrollback instead of the virtual terminal history. Needs either:
   - Dynamic mouseCapture toggle (enable when shell is open, disable when 
closed) — requires TamboUI enhancement
   - Keyboard-based scrollback (Shift+PageUp/Down)
   - ScreenTerminal history buffer rendering on scroll



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to