5

I just tried running nethack (installed on ubuntu, apt-get install nethack) and found it unplayable because it has a really narrow width:

nethack screenshot

Why is it so narrow? How can I tell nethack to you the full width? My terminal actually has 271 columns, so there is plenty of unused space.

1 Answer 1

6

Nethack uses an 8-bit field to store terminal width, which overflows if the width is > 255. Set your terminal size to less than 255 columns.

(It currently thinks your terminal is 271 - 255 = 16 columns)

1
  • How do you set the terminal size?
    – Kryomaani
    Commented Sep 15, 2022 at 10:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.