Fix for terminal cursor after switching to another workspace [#84344418]

@sinan, @fatihacet - could you guys review this commit and merge if everything is OK?
`pane.view.webtermView.terminal?.updateSize()`