mirror of
https://github.com/MeexReay/poshlostios.git
synced 2025-06-24 10:32:59 +03:00
screen_length
This commit is contained in:
parent
a91876b6a5
commit
60e7a7945d
@ -17,7 +17,7 @@ async function cropToScreen(text, x, y, width, height) {
|
|||||||
return screen.join("\n")
|
return screen.join("\n")
|
||||||
}
|
}
|
||||||
|
|
||||||
async function printScreen(start_cursor, pos, content, mode, pos, x, y, width, height) {
|
async function printScreen(screen_length, start_cursor, pos, content, mode, pos, x, y, width, height) {
|
||||||
trimTerminal(getTerminal().length - screen_length)
|
trimTerminal(getTerminal().length - screen_length)
|
||||||
let screen = await cropToScreen(content, 0, 0, width, height - 1)
|
let screen = await cropToScreen(content, 0, 0, width, height - 1)
|
||||||
await writeStdout(screen)
|
await writeStdout(screen)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user