Summary
Shift+Enter no longer inserts a newline in pi when running inside Zellij after upgrading pi. It still works correctly outside Zellij.
Environment
- pi:
0.67.3
- zellij:
0.43.1
- terminal outside zellij: works as expected
- custom pi keybindings:
{
"tui.input.newLine": ["ctrl+j", "shift+enter"],
"tui.input.submit": ["enter"]
}
Expected behaviour
Inside Zellij, Shift+Enter should insert a newline in the editor.
Actual behaviour
Inside Zellij, Shift+Enter does not insert a newline / behaves like plain Enter.
Reproduction
- Start
zellij
- Launch
pi
- Type some text in the editor
- Press
Shift+Enter
Observations
- This used to work inside Zellij before upgrading pi.
- It still works outside Zellij.
- pi docs currently say for Zellij: "no extra Zellij config is required" and pi uses
modifyOtherKeys mode 2 inside Zellij.
Notes
This looks like a regression in pi’s key handling around Zellij-specific modified Enter detection.
Summary
Shift+Enterno longer inserts a newline in pi when running inside Zellij after upgrading pi. It still works correctly outside Zellij.Environment
0.67.30.43.1{ "tui.input.newLine": ["ctrl+j", "shift+enter"], "tui.input.submit": ["enter"] }Expected behaviour
Inside Zellij,
Shift+Entershould insert a newline in the editor.Actual behaviour
Inside Zellij,
Shift+Enterdoes not insert a newline / behaves like plain Enter.Reproduction
zellijpiShift+EnterObservations
modifyOtherKeysmode 2 inside Zellij.Notes
This looks like a regression in pi’s key handling around Zellij-specific modified Enter detection.