diff options
author | David Walter Seikel | 2014-02-01 15:00:20 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-02-01 15:00:20 +1000 |
commit | d59f45201d4ac2d8ab88e7f1a3833afa5b2a09cf (patch) | |
tree | dbbfc824c2eb17362643a64eb7f7ca5e175f8ac8 /boxes.c | |
parent | Better method to tell if it's ordinary characters, and deal with partial read... (diff) | |
download | boxes-d59f45201d4ac2d8ab88e7f1a3833afa5b2a09cf.zip boxes-d59f45201d4ac2d8ab88e7f1a3833afa5b2a09cf.tar.gz boxes-d59f45201d4ac2d8ab88e7f1a3833afa5b2a09cf.tar.bz2 boxes-d59f45201d4ac2d8ab88e7f1a3833afa5b2a09cf.tar.xz |
Disable mouse stuff until I actually write it.
Diffstat (limited to 'boxes.c')
-rw-r--r-- | boxes.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2467,8 +2467,8 @@ void boxes_main(void) | |||
2467 | // fputs("\x1B[1;2'z\x1B[1;3'{", stdout); | 2467 | // fputs("\x1B[1;2'z\x1B[1;3'{", stdout); |
2468 | // Enable mouse (VT200 normal tracking mode). Has a limit of 256 - 32 rows and columns. An xterm exclusive I think, but works in roxterm at least. No wheel reports. | 2468 | // Enable mouse (VT200 normal tracking mode). Has a limit of 256 - 32 rows and columns. An xterm exclusive I think, but works in roxterm at least. No wheel reports. |
2469 | // Responds with "\x1B[Mbxy" where x and y are the mouse coords, and b is bit encoded buttons and modifiers - 0=MB1 pressed, 1=MB2 pressed, 2=MB3 pressed, 3=release, 4=Shift, 8=Meta, 16=Control | 2469 | // Responds with "\x1B[Mbxy" where x and y are the mouse coords, and b is bit encoded buttons and modifiers - 0=MB1 pressed, 1=MB2 pressed, 2=MB3 pressed, 3=release, 4=Shift, 8=Meta, 16=Control |
2470 | fputs("\x1B[?1000h", stdout); | 2470 | // fputs("\x1B[?1000h", stdout); |
2471 | fflush(stdout); | 2471 | // fflush(stdout); |
2472 | 2472 | ||
2473 | calcBoxes(currentBox); | 2473 | calcBoxes(currentBox); |
2474 | drawBoxes(currentBox); | 2474 | drawBoxes(currentBox); |