mirror of
https://github.com/MeexReay/poshlostios.git
synced 2025-06-24 18:42:59 +03:00
system event log
This commit is contained in:
parent
b0f9d89436
commit
2ac47b73b8
@ -23,6 +23,8 @@ async function readLine(on_key=(key, ctrl, alt, shift, content, pos) => [content
|
|||||||
while (true) {
|
while (true) {
|
||||||
let event = await pollStdinEvent()
|
let event = await pollStdinEvent()
|
||||||
|
|
||||||
|
console.log(event)
|
||||||
|
|
||||||
if (event.type == "key") {
|
if (event.type == "key") {
|
||||||
if (event.key == "Backspace") {
|
if (event.key == "Backspace") {
|
||||||
if (content.length >= 1) {
|
if (content.length >= 1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user