Re: [hackers] [dmenu] inputw: improve correctness and startup performance, by NRK || Hiltjo Posthuma

From: NRK <nrk_AT_disroot.org>
Date: Sat, 30 Apr 2022 17:45:59 +0600

On Sat, Apr 30, 2022 at 01:28:49PM +0200, Hiltjo Posthuma wrote:
> Whats your monitor resolution width?

I'm currently using 1366x768. Don't think it's worth optimizing for that
resolution as most people use 1080p nowadays.

> Whats your suggestion to improve it in a general sense?
>
> The trade-off is now that for small input strings in horizontal mode it might
> wastes some visual space now, but like you said it is now consistently in the
> same place and also simpler.

There's no right or wrong answer here, since it'll basically come down
to personal preference.

I'd say making it a config.h option (and maybe adjustable via cli as
well) would be a good course of action. It lets people easily change it
if they don't like the default.

- NRK
Received on Sat Apr 30 2022 - 13:45:59 CEST

This archive was generated by hypermail 2.3.0 : Sat Apr 30 2022 - 13:48:33 CEST