File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 79
79
80
80
async def handle_viewmode_kb_inputs (
81
81
82
- view : ' ChartView' ,
82
+ view : ChartView ,
83
83
recv_chan : trio .abc .ReceiveChannel ,
84
84
85
85
) -> None :
@@ -148,6 +148,20 @@ async def handle_viewmode_kb_inputs(
148
148
if mods == Qt .ControlModifier :
149
149
ctrl = True
150
150
151
+ # UI REPL-shell
152
+ if (
153
+ ctrl and key in {
154
+ Qt .Key_U ,
155
+ }
156
+ ):
157
+ import tractor
158
+ god = order_mode .godw
159
+ feed = order_mode .feed
160
+ chart = order_mode .chart
161
+ vlm_chart = chart .linked .subplots ['volume' ]
162
+ dvlm_pi = vlm_chart ._vizs ['dolla_vlm' ].plot
163
+ await tractor .breakpoint ()
164
+
151
165
# SEARCH MODE #
152
166
# ctlr-<space>/<l> for "lookup", "search" -> open search tree
153
167
if (
@@ -319,7 +333,7 @@ async def handle_viewmode_kb_inputs(
319
333
320
334
async def handle_viewmode_mouse (
321
335
322
- view : ' ChartView' ,
336
+ view : ChartView ,
323
337
recv_chan : trio .abc .ReceiveChannel ,
324
338
325
339
) -> None :
You can’t perform that action at this time.
0 commit comments