about summary refs log tree commit diff stats
path: root/tools
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-12-21 22:39:42 -0800
committerKartik Agaram <vc@akkartik.com>2019-12-21 22:42:08 -0800
commitf97e9d9be8d54638ad68972d7ca7ec00e94e657d (patch)
treef0bb6efc91aa81e8c1609c560e228108378818b1 /tools
parent657bff98473c3474d5d87673290405b3a0ee504f (diff)
downloadmu-f97e9d9be8d54638ad68972d7ca7ec00e94e657d.tar.gz
5815
Diffstat (limited to 'tools')
-rw-r--r--tools/browse_trace.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/browse_trace.cc b/tools/browse_trace.cc
index 574cf6de..8fc19d6d 100644
--- a/tools/browse_trace.cc
+++ b/tools/browse_trace.cc
@@ -79,11 +79,11 @@ template<typename T> typename T::mapped_type& get_or_insert(T& map, typename T::
 trace_stream* Trace_stream = NULL;
 
 ofstream Trace_file;
-int Cursor_row = 0;
+int Cursor_row = 0;  // screen coordinate
 set<int> Visible;
-int Top_of_screen = 0;
-int Left_of_screen = 0;
-int Last_printed_row = 0;
+int Top_of_screen = 0;  // trace coordinate
+int Left_of_screen = 0;  // trace coordinate
+int Last_printed_row = 0;  // screen coordinate
 map<int, int> Trace_index;  // screen row -> trace index
 
 string Current_search_pattern = "";