Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 33cfc5d

Browse files
committed
fix(results): split input on submission error
1 parent 799b264 commit 33cfc5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/leetcode-ui/renderer/result.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ function ResultLayout:handle_submission_error(item) -- status code = 11
125125
self:insert(header)
126126

127127
self:insert(Case({ ---@diagnostic disable-line
128-
input = item.input_formatted,
128+
input = vim.split(item.input, "\n"),
129129
raw_input = item.last_testcase,
130130
output = item.code_output,
131131
expected = item.expected_output,

0 commit comments

Comments
 (0)