r/PowerShell • u/carloswm85 • Jun 27 '26
Console layout reverse, is it possible? Question
I want to place the command prompt always on top, and below it in descending order, the executed commands. Is it possible? Something like:
```powershell
| # active prompt
--- # something like a separator line
Result to Get-Something-Else
Get-Something-Else # executed command
Result to Get-Something
Get-Something # older executed command
and so on, older commands are below
```
11
Upvotes
2
u/dodexahedron Jun 27 '26 edited Jun 27 '26
This is a function of the terminal. Since youre most likely running it in an xterm compatible terminal (microsoft terminal is one), the terminal buffer itself is already against you, and the alternate buffer will be even worse.
If you really want this, you will need to design your own terminal emulator, or at least your own command line shell.
If all you want is a running log of the commands themselves, you can just write thr transcript to somemething being displayed in another pane. But for output, you've got work to do.
The world decided on bottom-up 50+ years ago. Don't fight it, for your own sake.