Closed Im-Beast closed 1 year ago
This major change breaks almost all of the older code. It is easy to migrate older code to new one.
Most important changes include:
Component
BoxComponent
Box
Signal
update()
key_reader.ts
input_reader/decoders
readKeypresses()
emitInputEvents()
src/types.ts
src/input_reader/types.ts
"mousePress"
This major change breaks almost all of the older code. It is easy to migrate older code to new one.
Most important changes include:
Component
suffix, e.g.BoxComponent
is now just aBox
Signal
's are now used to smoothen development of reactive UIupdate()
method, instead they calculate changes usingSignal
'skey_reader.ts
is split to multiple modules inside `input_reader/``.input_reader/decoders
contains logic for decoding given buffer/character code to events.readKeypresses()
withemitInputEvents()
which directly emits input from given stdin with parsed events.key_reader.ts
related types have been moved fromsrc/types.ts
tosrc/input_reader/types.ts
."mousePress"
event has been split to three different events: "mouseEvent", "mousePress", "mouseScroll".