Skip to content

Add scroll bar to integrated terminal #6602

Closed

Description

On Mac I am not getting scrollbars when the content overflows.

Activity

  1. added
    bug
    on May 21, 2016
  2. Tyriar commented on May 21, 2016

    @Tyriar
    Contributor

    Known issue, not sure scrollbars are going to happen unless we fork term.js.

  3. added
    terminal
    on May 21, 2016
  4. Tyriar commented on May 23, 2016

    @Tyriar
    Contributor

    Forking term.js would also be necessary if we wanted to do any improvements to the UX inside the terminal. For example improving the selection experience (related to this), adding links or something to terminal for tighter integration with editor (#1037), making the cursor blink without breaking selection, etc.

  5. bastienJS commented on Jun 26, 2016

    @bastienJS

    I use the integrated terminal only for doing "ng build" and getting an error message about what failed to build. But I am never able to read the cause of the failed build because I can not scroll up. Not every error is in the error windows. Sometimes error appear only at build process.

    Thus if you want to justify the existance of the integrated terminal it really needs scrollbars or I have to the CMD.

  6. Tyriar commented on Jun 27, 2016

    @Tyriar
    Contributor

    bastienJS you should still be able to scroll using the mouse wheel and ctrl+shift+arrows/page up/page down.

  7. changed the title [-]Terminal: I am not getting scrollbars for scrolling?[/-] [+]Add scroll bar to integrated terminal[/+] on Jul 5, 2016
  8. added
    upstream
    on Jul 5, 2016
  9. Tyriar commented on Jul 5, 2016

    @Tyriar
    Contributor

    This needs to be tackled upstream first at xtermjs/xterm.js#77

  10. gertcuykens commented on Aug 4, 2016

    @gertcuykens

    OSX 0.11.6 / vscode 1.3.1

    • fn + up down arrow doesn't work in terminal it gives a ~ character instead.
    • scroll speed per line results into a much faster and choppy scroll then in a normal vscode editor window, try to make sure scroll speed of all different windows are the same in vscode if technically possible.
  11. gertcuykens commented on Aug 4, 2016

    @gertcuykens

    Plan B: Disable mouse scroll completely to prevent accidental scrolling and introduce a new button that opens a new editor tab with a copy of the console buffer output. As a bonus you can then keep that output and use it as a copy paste clip board.
    image

  12. Tyriar commented on Aug 4, 2016

    @Tyriar
    Contributor

    Gert Cuykens (@gertcuykens) the WIP PR is out for the scroll bar xtermjs/xterm.js#218, it supports mouse wheel events that scroll by pixel, line and page. It's very smooth based on my testing so far.

  13. pierznj commented on Aug 5, 2016

    @pierznj

    Scrollbar for the integrated terminal would be awesome.

  14. removed
    upstream
    on Aug 8, 2016
  15. added a commit that references this issue on Aug 8, 2016
    2e10189
  16. emartinpi commented on Sep 9, 2016

    @emartinpi

    I just updated Code to version 1.5 and the scrolling in integrated terminal doesn't work well.
    When type a command that produces a content overflow, the scroll bar shows up and while that command is running, the scroll bar is there, visible. But when you kill the process the scroll bar vanish

    VSCode Version:1.5
    OS Version: OS X El Capitan 10.11.6

  17. Tyriar commented on Sep 9, 2016

    @Tyriar
    Contributor

    Edu Martin (@emartinpi) are you using oh-my-zsh? The scroll bar should be visible and working whenever application keypad mode is disabled.

  18. emartinpi commented on Sep 9, 2016

    @emartinpi

    Daniel Imms (@Tyriar) yes, i'm using oh-my-zsh. Application keypad mode was enabled so I disabled it from terminal menu, reset VCode but nothing changed in integrated terminal, the same behavior keeps going

  19. Tyriar commented on Sep 9, 2016

    @Tyriar
    Contributor

    Edu Martin (@emartinpi) I suspect this is the root cause of the issue xtermjs/xterm.js#151

  20. jcarter commented on Sep 9, 2016

    @jcarter
  21. emartinpi commented on Sep 12, 2016

    @emartinpi

    Thanks Justin Carter (@jcarter) It worked for me as well, but I suppose this workaround may break some key bindings...
    Daniel Imms (@Tyriar) Will there be a fix for this issue?

  22. Tyriar commented on Sep 12, 2016

    @Tyriar
    Contributor

    Edu Martin (@emartinpi) I was hoping someone from the community would be able to chip in on #7817 / xtermjs/xterm.js#151, I don't use oh-my-zsh personally and won't have time to look at it any time soon.

  23. locked and limited conversation to collaborators on Nov 18, 2017
  24. added a commit that references this issue on Sep 6, 2026
    44cb775
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugterminalverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions