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

14 lines
225 B
Ruby
Raw Normal View History

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