version 6 by Jon Ingold
Chapter - Default Window behaviour
Section - inventory
A window-drawing rule for the inventory-window (this is the default print inventory to inventory window rule):
move focus to inventory-window, clearing the window;
say paragraph break;
try taking inventory;
return to main screen.
Before reading a command when the inventory-window is g-present:
follow the window-drawing rules for the inventory-window.