@eddiejennings said in Shift + PgUp/PgDn in terminal?:
@pete-s said in Shift + PgUp/PgDn in terminal?:
When you use Shift + PgUp/PgDn on a linux console you can scroll the screen buffer.
Where does this behavior come from? Is it the shell, a utility on the server, is it the console client, is it the ssh client?
It's not working for me using ssh (on windows) and I realized I have no clue where to start looking...
Probably specific to the config of your terminal program, unless you’re truly talking about the console itself.
I had to alter some key bindings in Gnome Terminal to get the desired behavior from the weechat key bindings.
You were right. I was trying out Windows Terminal and running ssh inside. And shift+pgup/dn didn't work as expected.
I looked at the Windows Terminal keybindings and the default was not what I wanted.
So I added this under "actions" in the settings.json file:
// Scrollback { "command": "scrollDown", "keys": "shift+down" }, { "command": "scrollDownPage", "keys": "shift+pgdn" }, { "command": "scrollUp", "keys": "shift+up" }, { "command": "scrollUpPage", "keys": "shift+pgup" },The added bonus is that shift+pgup/dn now also works with cmd.exe and PowerShell.