[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [PATCH] input: make the Ctrl+Arrow keys work on a Linux
From: |
Benno Schulenberg |
Subject: |
Re: [Nano-devel] [PATCH] input: make the Ctrl+Arrow keys work on a Linux console |
Date: |
Fri, 29 Jul 2016 11:04:02 +0200 |
> +#include <sys/ioctl.h>
> + if (ioctl(0, TIOCLINUX, &modifiers) >= 0 &&
> + (modifiers & KEYMOD_CONTROL)) {
How do I wrap this so that the build won't break on the BSDs?
Eitan?
Benno
--
http://www.fastmail.com - IMAP accessible web-mail