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.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() describe("termsize() #manual", function() it("gets the terminal size", function() - local w, h = system.termsize() - assert.is_number(w) - assert.is_number(h) + local rows, columns = system.termsize() + assert.is_number(rows) + assert.is_number(columns) end) end) |