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


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)

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .