File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ function M.scroll_to_bottom()
1717 end )
1818 end )
1919
20+ -- TODO: shouldn't have hardcoded calls to render_markdown,
21+ -- should support user callbacks
2022 vim .defer_fn (function ()
2123 renderer .render_markdown ()
2224 end , 200 )
@@ -200,15 +202,15 @@ end
200202-- renderer.render_incremental(state.windows, message)
201203-- end
202204
203- function M .render_lines (lines )
204- M .clear_output ()
205- renderer .write_output (state .windows , lines )
206- renderer .render_markdown ()
207- end
205+ -- function M.render_lines(lines)
206+ -- M.clear_output()
207+ -- renderer.write_output(state.windows, lines)
208+ -- renderer.render_markdown()
209+ -- end
208210
209- function M .stop_render_output ()
210- renderer .stop ()
211- end
211+ -- function M.stop_render_output()
212+ -- renderer.stop()
213+ -- end
212214
213215function M .select_session (sessions , cb )
214216 local util = require (' opencode.util' )
You can’t perform that action at this time.
0 commit comments