-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Suraj N. Kurapati wrote:
> Make column selection wrap around. So if I am at the right least
> column and I input "select the column at right", then wmii should
> select the left-least column. Same thing applies for the reverse
> case: selecting column to the left of left-least column will put
> focus on right-least column.
Attached is a pull request which implements the above feature. I was a
surprised to find that negative integers don't wrap around in Java 7 as
they do in Ruby:
Java 7:
-4 % 4 => 0
-3 % 4 => -3
-2 % 4 => -2
-1 % 4 => -1
0 % 4 => 0
1 % 4 => 1
2 % 4 => 2
3 % 4 => 3
4 % 4 => 0
Ruby:
-4 % 4 => 0
-3 % 4 => 1
-2 % 4 => 2
-1 % 4 => 3
0 % 4 => 0
1 % 4 => 1
2 % 4 => 2
3 % 4 => 3
4 % 4 => 0
- --
BASIC is to thin client programming as QWERTY is to typing.
-- Seymour Papert
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/WSL)
iD8DBQFEqwFGmV9O7RYnKMcRAmyoAJ9snqyBRsniL/AzP8NSWhKsAcJbvgCcC4IK
W20hYARnrGZ4mfMmkTAsKCc=
=+EQ5
-----END PGP SIGNATURE-----
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:10:40 UTC