Broken mouse
This is just an idea, I have not elaborated it.
My mouse accidentally fell to the ground, and now there is a double click for each of my single click(which makes window-closing very hard to do). :(
Most computer screens have a higher resolution ratio than 16x12, but let's assume that my computer screen has a 16x12 resolution ratio.
Example: A Window looks like this:
0--------OX
| |
-----------
The number 0 is the indicator of the window. O
is a dragging button that allows windows to be moved. X
is a closing button that closes the window. (You can not resize windows.)
Assume that there is a window below that window looking like this:
1-----OX
| |
--------
If I click X, I will close both windows. However, what should(or must, if appropriate) I do if I only want to close the first window?
I can move my mouse to the O
tab and drag the window around by using mousedown. After 1 drag to the right:
10--------OX
|| |
------------
Now I can click the X
to close the window 0 after I click the O
button again to remove the dragging effect. (Note that there is the window "1" below that window.)
Wait, I changed my mind and wanted to close the window 1. What should I do?
I should click the number 1; then, the window 1 goes to the top and the X
button shows. Now I can click the X button to close the 1 window.
For reference, this is the TUI commands I used(when the mouse starts at 0x0):
0-----O
>>>>>>.>.<<<<<<<.>>>>>>.
What should I do if I want to close the windows that I specified? (Output the TUI instructions.) (Your score is -(code length + output); you want to keep your score as high as possible.)
TUI Instructions
^v<>
: Move the mouse up, down, left, or right.
: Mouse down+mouse up (i.e. click)