From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f181.google.com ([209.85.222.181]) by ewsd; Tue Feb 18 15:20:36 EST 2020 Received: by mail-qk1-f181.google.com with SMTP id d11so20811871qko.8 for <9front@9front.org>; Tue, 18 Feb 2020 12:20:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=yAbVZIffkLGESl/ASkKM+AS9ZdcX9OW2pNWiob//5g8=; b=O49XN67QDFJ9w65pZG9VTqp31wVY3qVmjojedgPYeF7ypiWItMvEbBANqv6ARHV3Ne ZQP5CUqpY9Y12sXYgP7Xzmxdabgqu1IAtM10ARLlcKFNcy42sj4Ah/4BFGlrIs0Bwb9o AlNk5JRDoIv1koGQV4J3sbBOkAjNez0RVWk0RqwVhbwNkJRHPQDhGV4qYlkiUQWanMyA 0aRB2Xjcfu79nwsUnw2tp4Qg6N5VDqI4YNoTADAdlS4BxdZ+uUJhR3fg5FBx2XCyrnuF q1jZ2jT5NzpauRN2XgLqd1Ee1BnvzJ2JuOtRox9sJza0jnm46z5ilDc4MboEd+6lXJQy 1jkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=yAbVZIffkLGESl/ASkKM+AS9ZdcX9OW2pNWiob//5g8=; b=WXZ2WWjDWnytUo2FKaPI3JOOKWE3ZtfsTF5T4ZA7RxRE+a4g25fcCYej/e67DU1E1w 02QXuGg3JKXoD+g9iHrm9RaENnX/kX30xSagkoTjK6RpqYJsTYs/U7mfILcShBdgQCkr rbxbxKgsimSsj5GmKLIe58tctnIXYbnEb2hI+Sr81ktt0OpBUryycpT9O+VAoynnBK14 70DIzsQX4e6zZEEl+UMBN2ki2wCndkU37fH2dMl4rcb4lQ3mTX1RbaJMQ+Lr/F5wKIjW xG7s3ZOlGmrZa232bazDPkCWrtrzApGnF9pwJww4JI9UVRgjxIrWbUU6dey+u8jfd2Dy cGFA== X-Gm-Message-State: APjAAAXreO/l0ZuwU03McLLrw7DCs7BR3p1/QM3hQmRa+AmGkbFsuc88 pMEl2i657TM2k/IaGbsO0Ti4AU6MfmvzR41LxbdGio8d X-Google-Smtp-Source: APXvYqwj5GyD8Wm4cNHQeBH/zE78wV51APv1scoG7xQ+EA4rgn1FD3UP04V3wJMuz3OcGWb9DTnuBAfmJJfabtEHPA4= X-Received: by 2002:a05:620a:15e9:: with SMTP id p9mr20449405qkm.162.1582057233220; Tue, 18 Feb 2020 12:20:33 -0800 (PST) MIME-Version: 1.0 References: <708AA3D68C26498CFC501A962772BB03@a-b.xyz> In-Reply-To: <708AA3D68C26498CFC501A962772BB03@a-b.xyz> From: Eli Cohen Date: Tue, 18 Feb 2020 12:20:22 -0800 Message-ID: Subject: Re: [9front] drawterm bug report To: 9front@9front.org Content-Type: text/plain; charset="UTF-8" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: package factory hiro - I meant my "fix" is to simply bang on the ctrl key. everyone may not realize to do that On Tue, Feb 18, 2020 at 3:47 AM wrote: > > > I imagine other people have noticed this. sometimes when I > > switch virtual workspaces on xfce4, drawterm's input gets > > stuck somehow and when I type, control characters come out. > > Drawterm registers the keydown event, this trickles down to > kbdfs, rio, and whatever, modifying their input states; > then, drawterm's input focus is taken away by external > forces, you release the key but drawterm doesn't ever get > that keyup event, therefore everything continues to believe > you are holding down that Ctrl key for life. > > I remember trying to work this out at some point, with the > idea of tracking the keys being pressed and explicitly > releasing them on focuslost event, or something like that. > > You can't do it wholesale or naively either, because for > example Alt triggers the kbdfs compose mode that must be > exited by pressing Alt again. -- http://echoline.org