about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-03-14 21:30:48 -0700
committerKartik Agaram <vc@akkartik.com>2019-03-14 21:30:48 -0700
commit5c8b1b638e94702e1c10d7066218f2150aab9224 (patch)
treec5309930fc5ed72f2b42185c149fedd3cc29e3df
parentf0f16bdf7bb501c93e9bc92f46cc4e0758ae136a (diff)
downloadmu-5c8b1b638e94702e1c10d7066218f2150aab9224.tar.gz
5005
-rw-r--r--termbox/x.cc18
1 files changed, 0 insertions, 18 deletions
diff --git a/termbox/x.cc b/termbox/x.cc
deleted file mode 100644
index 1b715746..00000000
--- a/termbox/x.cc
+++ /dev/null
@@ -1,18 +0,0 @@
-#include<iostream>
-using std::cout;
-#include"termbox.h"
-
-int main() {
-  tb_init();
-  std::setvbuf(stdout, NULL, _IONBF, 0);
-  cout << tb_width() << ' ' << tb_height();
-  tb_event x;
-  for (int col = 0; col <= tb_width(); ++col) {
-    tb_set_cursor(col, 1);
-    tb_poll_event(&x);
-    cout << "a";
-    tb_poll_event(&x);
-  }
-  tb_shutdown();
-  return 0;
-}
4280a7314'>^
6b36e4db ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61