MarkyMan4/filequery

Tabs in the TUI

Closed this issue · 2 comments

Allow users to create tabs for multiple SQL worksheets. Each worksheet would also have a query result saved with it so users can see the result of previous queries when switching between tabs.

Should be able to use Textual's Tabs widget for this

Added this in v0.2.2. Although each tab currently saves whatever text is in the editor for that tab, it does not save the query result for each tab. This is to keep the memory footprint of the program in check. It would certainly be possible to store query results per tab, but I need to find a better way to do this, rather than keeping the entire query result for each tab in memory.