]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/testsuite: rename _cur_x/_cur_y to _cur_col/_cur_row in lib/tuiterm.exp
authorSimon Marchi <simon.marchi@polymtl.ca>
Wed, 20 Jan 2021 21:11:06 +0000 (16:11 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Wed, 20 Jan 2021 21:11:15 +0000 (16:11 -0500)
commitc3e96aa78ff5cff513109a545304486176043fd7
treefba4a02c2af7eef31b5d0fa693842b43f475bf6f
parent6571ffc62014f3661aaafede48c7e5b026f99717
gdb/testsuite: rename _cur_x/_cur_y to _cur_col/_cur_row in lib/tuiterm.exp

I am having trouble remembering which of _cur_x/_cur_y is columns and
which is rows, so renaming them helps.  We already have _rows and _cols
to represent the terminal size, so I think that makes sense to name the
"_cur" variables accordingly.

gdb/testsuite/ChangeLog:

* lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.

Change-Id: I6abd3cdfdb295d8abde12dcd5f0ae09f18f07967
gdb/testsuite/ChangeLog
gdb/testsuite/lib/tuiterm.exp