Remove useless use of a variable in Reline::ANSI

This commit is contained in:
aycabta 2019-05-14 17:15:49 +09:00
parent 80c968c571
commit b5a3ec7f18

View File

@ -33,7 +33,6 @@ class Reline::ANSI
res << c if c
end
end
res
m = res.match(/(?<row>\d+);(?<column>\d+)/)
column = m[:column].to_i - 1
row = m[:row].to_i - 1