ipython / ipython/ipykernel

Custom prompt does not work.

Aperta
#477 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
734
Fork
412
Merge medio
1g 5h
PR unite (30g)
8

Descrizione

When you use `jupyter console`, it looks like it uses `ipykernel.zmqshell.ZMQInteractiveShell`. After digging through the code it looks like it inherits `InteractiveShell`, but the prompt customization stuff got moved to `TerminalInteractiveShell`, so all the options to modify the prompt (old and new) are ignored.

Is there a way to do it?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.