Sha256: f0fa4e810c1fa212f0e255c7a3157a904bc56738571173958834c9f62d523261
Contents?: true
Size: 268 Bytes
Versions: 6
Compression:
Stored size: 268 Bytes
Contents
# encoding: utf-8 RSpec.describe TTY::Cursor, '#move_to' do subject(:cursor) { described_class } it "moves to home" do expect(cursor.move_to). to eq("\e[H") end it "moves to row and column" do expect(cursor.move_to(2, 3)).to eq("\e[4;3H") end end
Version data entries
6 entries across 6 versions & 1 rubygems