ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] [PATCH] gtk don't handle GDK_Up/GDK_Down as printable chars

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 23 Nov 2006 13:46:53 -0800
Stefan (metze) Metzmacher wrote:

if isprint() is used, we should make sure the value
isn't larger than 0xFF, as currently GDK_Up and GDK_Down
trigger a focus switch to the filter.

Should it be

	if (isascii(event->keyval) && isprint(event->keyval))

so that control characters don't get intercepted, either?