Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

`window.find_output_panel( "console" )` returns `None` instead of the Console output view #2929

evandrocoan opened this issue Aug 12, 2019 · 2 comments


Copy link

commented Aug 12, 2019


I would like change the font size of the console independent from the rest of the window, or from other windows, i.e., without changing the font-size globally. But when running print( window.find_output_panel('console') ), it returns None.

Currently the only way to change the console font-size is changing it globally on the user settings.

Steps to reproduce

  1. Open Sublime Text console
  2. Run the command print( window.find_output_panel( "console" ) )

Expected behavior

As window.run_command( "show_panel", { "panel": "console" } ) opens the console,
the command print( window.find_output_panel('console') ) should get the console output view too.

Actual behavior

window.run_command( "show_panel", { "panel": "console" } ) opens the console,
but the command print( window.find_output_panel( "console" ) ) does not get console
output view.


  • Operating system and version:
    • Windows 10 build 15063 x64
    • Mac OS ...
    • Resolution 1920x1080
    • dpi_scale 1.0
    • Sublime Text:
    • Build 3207
    • 64 bit

This comment has been minimized.

Copy link

commented Aug 12, 2019

Not all panels are output panels. In particular, the console is not an output panel. window.find_output_panel('console')) should find the output panel whose panel name is output.console. There is no such output panel, so it returns None.


This comment has been minimized.

Copy link

commented Aug 12, 2019

As @Thom1729 mentions, the API that currently exists is working properly.

In your case, it sounds like you should rephrase your bug as a feature request. That said, it may not be a simple addition on our side since I know in the past we've found that modifications to the console can easily deadlock as ST tried to write error messages to the console when the user tries to modify the console's settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.