ipython / ipython/ipython

[Feature Request] Vertical alignment of interpreter input in terminal

Open
#12,773 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
16.8k
Forks
4.5k
Avg merge
1d 2h
Merged PRs (30d)
6

Description

Hi,

I wonder if there's an option in IPython for centering the REPL input (`>>> `) in the middle, so that it's easier to show things during screen casting. This is especially useful when terminal is set to fullscreen, because the input would stay at the middle instead of the bottom.

Example of such functionality can be seen in vim when one sets the `scrolloff` to high value. I've recorded short video which hopefully shows that clearly: https://asciinema.org/a/384896

This functionality could be enabled as a magic command `%scrolloff middle` or something similar. I am also willing to implement that if no such thing exists already, but I would need some hints.

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.