Zeal8bit / Zeal-8-bit-OS

An Operating System for Z80 computers, written in assembly
Apache License 2.0
567 stars 52 forks source link

`less` command will clear the screen after exit it #25

Closed JasonMo1 closed 8 months ago

JasonMo1 commented 8 months ago

less command on linux will not clear the screen, there's a little difference in this behavior.

JasonMo1 commented 8 months ago

reproduction:

run less simple.txt in zos and press q to quit

Zeal8bit commented 8 months ago

This is the expected behavior since less command erases the screen, it doesn't save the characters shown on screen beforehand (it has no way of doing this anyway)