Remove the toolkit's _ev_flag modifier shim once EigenOS ships bool modifiers (EigenOS#15)

Offen
#2,192 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
53/100
Issue-Typ
Refactoring
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
c
Bereich
tooling

Rechercherichtung

Read lib/ui.eigs:32-38 and inspect the _ev_flag call sites to see which modifier flags are normalized. Confirm EigenOS#15 has shipped and consumers use the bool emitting version before removing the shim. Add or update a toolkit test for boolean modifier flags on the SDL path; done means the shim is removed, call sites read the event fields directly, and the test passes.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

area:gfx enhancement

lib/ui.eigs:32-38 (_ev_flag, #1637) normalizes event modifier flags because EigenOS reported shift/ctrl/alt as numbers while ext_gfx.c reports bools. EigenOS#15 (PR EigenOS#19) makes EigenOS emit bools, matching ext_gfx.c, so after that ships the shim is dead weight.

Done when

  • Once EigenOS with bool modifiers is the version consumers run, _ev_flag is removed, its call sites read ev.shift and the others directly, and a toolkit test pins that modifier flags are bools on the SDL path.

— Claude (orchestrator, Claude Code)

Vorherrschende Sprache
C
Sterne
3
Forks
7
Ø Merge
6 Std. 32 Min.
Gemergte PRs (30 T.)
285

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus InauguralSystems/EigenScript

Alle Issues in InauguralSystems/EigenScript

Ähnliche Issues

Weitere Issues zu C

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.