diff options
author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2024-06-08 09:28:20 +0200 |
---|---|---|
committer | Thijs Schreijer <thijs@thijsschreijer.nl> | 2024-06-08 09:28:20 +0200 |
commit | 8996a5022fa82e5d5335f71580d0cd6b6d323c9b (patch) | |
tree | aac6b6a015cf06aad845627f51b739fe58f85166 /spec | |
parent | 52562e9986f8f5a4d2dda4333acba110734def0f (diff) | |
download | luasystem-8996a5022fa82e5d5335f71580d0cd6b6d323c9b.tar.gz luasystem-8996a5022fa82e5d5335f71580d0cd6b6d323c9b.tar.bz2 luasystem-8996a5022fa82e5d5335f71580d0cd6b6d323c9b.zip |
switch termsize results to standard; rows, cols
Diffstat (limited to 'spec')
-rw-r--r-- | spec/04-term_spec.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/04-term_spec.lua b/spec/04-term_spec.lua index 84b4731..d5b4eee 100644 --- a/spec/04-term_spec.lua +++ b/spec/04-term_spec.lua | |||
@@ -500,9 +500,9 @@ describe("Terminal:", function() | |||
500 | describe("termsize() #manual", function() | 500 | describe("termsize() #manual", function() |
501 | 501 | ||
502 | it("gets the terminal size", function() | 502 | it("gets the terminal size", function() |
503 | local w, h = system.termsize() | 503 | local rows, columns = system.termsize() |
504 | assert.is_number(w) | 504 | assert.is_number(rows) |
505 | assert.is_number(h) | 505 | assert.is_number(columns) |
506 | end) | 506 | end) |
507 | 507 | ||
508 | end) | 508 | end) |