FLTK logo

Re: [fltk/fltk] Make class Fl_Simple_Terminal refuse the focus (Issue #365)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [fltk/fltk] Make class Fl_Simple_Terminal refuse the focus (Issue #365) erco77 Jan 11, 2022  
 

But that's unique to Unix / X11. On other platforms you need to type ^C as Greg described and this needs the focus to deliver the keypress to the widget.

Just to clarify, I was wondering aloud if ^C worked perhaps because during its handling of the highlighting process, if it were to set itself to be the focus widget with Fl::focus(), despite ignoring FL_FOCUS events, becomes the focus widget anyway, and thus the ^C event is thrown to the Fl_Text_Xxx handler as a regular FL_KEYBOARD event by the fact it is still the Fl::focus() widget. Just a guess, but I think it can work that way.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/issues/365/1010275840@github.com>

Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.