mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-07-26 21:08:45 +08:00
✨ add native terminal_size
This commit is contained in:
@@ -5,4 +5,8 @@ use std.math;
|
||||
# when count can be divided exactly by times, return true
|
||||
var times_trigger = func(times, count) {
|
||||
return math.mod(times, count)==0;
|
||||
}
|
||||
|
||||
var terminal_size = func {
|
||||
return __terminal_size;
|
||||
}
|
||||
Reference in New Issue
Block a user