View not being triggered after Update #851
Unanswered
jeffdupont
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a socket connection that receives information that I load into columns lists. I'm following the kancli basics for my layout. Now the columns load fine, but the main board never leaves the "loading..." state. I've tried numerous ways to get the board to update and redraw the lists now that the
loaded
flag is set to true. The log never shows the line from within theView
until I hit a key, and then everything shows up.The socket listener is spun out in a goroutine within the
NewBoard
method call when starting the program up. The socket listener is also a method on the pointer to theBoard
struct. Calling theUpdate(nil)
on the board pointer logs the action case on the switch statement but never logs theView
log point.Sorry if this seems a bit jumbled... I've been trying to figure this out for hours now.
Beta Was this translation helpful? Give feedback.
All reactions