Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8332314

Add window size configuration option to JavaShellToolBuilder interface

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: