Add window size configuration option to JavaShellToolBuilder interface

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 24
    • Affects Version/s: None
    • Component/s: tools
    • b04
    • generic
    • generic

      When launching JShell programmatically (i.e., from a Java program, using the JavaShellToolBuilder interface, instead of the command line) for an interactive session, it's not currently possible to inform JShell what the terminal window's dimensions are.

      As a result, JShell defaults to 80x24 and line editing becomes almost impossible because of the scrambled screen contents.

      Suggestion: add a new method JavaShellToolBuilder.windowSize() which allows providing a more informed "hint" to JShell what the actual screen dimensions are.

            Assignee:
            Archie Cobbs
            Reporter:
            Archie Cobbs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: