1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-18 13:31:36 +03:00
mobile-nixos/examples/hello/app/windows/inputs.rb
2020-05-31 18:54:07 -04:00

14 lines
225 B
Ruby

module GUI
class InputsWindow < BaseLogWindow
COMMAND = "lsinput"
def initialize()
super(explanation: "Output of #{COMMAND}")
end
def on_present()
set_text(`#{COMMAND} 2>&1`)
end
end
end