mirror of
https://github.com/kepler155c/opus
synced 2026-06-01 18:22:09 +00:00
alternatives
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
local Alt = require('opus.alternate')
|
||||
local Event = require('opus.event')
|
||||
local Socket = require('opus.socket')
|
||||
local Util = require('opus.util')
|
||||
@@ -46,7 +47,7 @@ local function telnetHost(socket, mode)
|
||||
title = mode .. ' client',
|
||||
hidden = true,
|
||||
co = coroutine.create(function()
|
||||
Util.run(_ENV, 'sys/apps/shell.lua', table.unpack(termInfo.program))
|
||||
Util.run(_ENV, Alt.get('shell'), table.unpack(termInfo.program))
|
||||
if socket.queue then
|
||||
socket:write(socket.queue)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user