News for hackers. Stuff that matters.
Re:SQLite-TUI: A TUI for viewing SQLite databases, written i... by thristian on Friday September 03, 2021 @10:50PM (#28411668)
> NOTE: Mouse controls don't work for remote sessions like serial or SSH.

That's weird. I'm having a hard time imagining how it would be possible to break mouse controls over SSH, since the escape sequences used to signal mouse events are transport-agnostic.

Re:SQLite-TUI: A TUI for viewing SQLite databases, written i... by enduku on Friday September 03, 2021 @11:42PM (#28411888)
Me too. Maybe it is the latency that affected this decision. If the cause for ignoring mouse events is latency, Mosh may be a bit better.

https://mosh.org/

Re:SQLite-TUI: A TUI for viewing SQLite databases, written i... by mathaou on Saturday September 04, 2021 @03:59AM (#28413074)
I haven't looked into that one too much, I'll thoroughly test it soon.

For whatever reason I only tested Windows ssh, since it's what I use for work. I'll test Linux soon.

Re:SQLite-TUI: A TUI for viewing SQLite databases, written i... by GrayShade on Saturday September 04, 2021 @05:33AM (#28413536)
I just tested it. Mouse works in Linux over SSH, but I'm not really sure how to use the app otherwise (:.

And yeah, it crashes on larger databases:

  panic: runtime error: slice bounds out of range [:-1]                                                                                                                                                                                                                                                                                                                                                                             
  
  goroutine 54 [running]:
  sqlite3-viewer/viewer.TruncateIfApplicable(0xc02037ef70, {0xc000126038, 0x7})
   ~/go/tuitty/viewer/util.go:99 +0x192
  sqlite3-viewer/viewer.TuiModel.View.func2(0xc000818f60)
   ~/go/tuitty/viewer/viewer.go:121 +0xae5
  created by sqlite3-viewer/viewer.TuiModel.View
   ~/go/tuitty/viewer/viewer.go:106 +0x272
Re:SQLite-TUI: A TUI for viewing SQLite databases, written i... by mathaou on Saturday September 04, 2021 @06:49AM (#28413912)
Not sure if your data is not sensitive enough that you'd open an issue and attach it? I'd use it for testing.