##// END OF EJS Templates
Feature/add line numbers to prompt (#14223)...
Feature/add line numbers to prompt (#14223) This PR adds line numbers to the default prompt (#13965). You can now display absolute, relative of both line number in the emacs and vi prompt by using the `TerminalInteractiveShell.prompt_line_number_format` option the at takes string to format with both `line` (1 base int) and `rel_line` (int)`. For example: `c.TerminalInteractiveShell.prompt_line_number_format='{line: 4d}/{rel_line:+03d} | '`

File last commit:

r28536:df4685d8
r28541:b5bf8f15 merge
Show More
incompat-line-numbers.rst
4 lines | 75 B | text/x-rst | RstLexer
/ docs / source / whatsnew / pr / incompat-line-numbers.rst

Line Numbers

This PR add line numbers to the default prompt.