Skip to content

Commit 4e5a2d6

Browse files
committed
Quick fix refreshing response scrollbars after receiving a response
1 parent c81ccf9 commit 4e5a2d6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/app/ui/result_tabs.rs

+3
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ impl App<'_> {
113113
// Tries to highlight the body
114114
self.syntax_highlighting.highlight(body, &file_format);
115115

116+
// TODO: temporary solution, should be refreshed everytime after receiving a response
117+
self.refresh_result_scrollbars();
118+
116119
match last_highlighted.read().unwrap().clone() {
117120
// Nothing was highlighted
118121
None => body.lines().map(|line| Line::raw(line)).collect(),

0 commit comments

Comments
 (0)