From: henri.ducrocq@gmail.com (Henri Ducrocq)
Subject: [sup-talk] Handling window resizing
Date: Thu, 21 May 2009 02:31:16 +0100 [thread overview]
Message-ID: <1242868891-sup-4321@ptoseis> (raw)
In-Reply-To: <391beaa80905201334y4c1832adp161bb28d52f08e1@mail.gmail.com>
Excerpts from Henri Ducrocq's message of Wed May 20 21:34:36 +0100 2009:
> I'm using a tiling window manager and my windows get resized quite
> frequently. However Sup isn't detecting these events and I have to press
> Control-L to redraw the screen.
I tried to do it myself, first by checking for Ncurses::KEY_RESIZE in
nonblocking_getch in buffer.rb (couldn't work because of the IO.select),
then slightly less unsuccessfully by catching the WINCH event, but it
looks like the signal isn't emitted in a completely consistent manner
every time I resize the window.
Any advice William? (Of course I'm secretly hoping you're gonna fix it
yourself :)
--
Henri
next parent reply other threads:[~2009-05-21 1:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <391beaa80905201334y4c1832adp161bb28d52f08e1@mail.gmail.com>
2009-05-21 1:31 ` Henri Ducrocq [this message]
2009-05-21 15:22 ` William Morgan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1242868891-sup-4321@ptoseis \
--to=henri.ducrocq@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox