I'm trying to use the Linux program Screen to code on my Ubuntu laptop but its behaving really strangely. When i open a file, the file looks like it should but as I move down to the bottom, brackets appear in strange places. These brackets seem to match the bracket placement of the line before it.
Here's a screenshot of my cursor at the top: Cursor at top
Here's a screenshot once its reached the bottom: Cursor at bottom
Notice all the extra brackets everywhere? There also seems to be two separate line counters in the bottom right hand corner.
Another weird thing is that my cursor is limited in its movements. ON line 3 my cursor can only go as far as the 1st closed bracket, as if it was on the line above it.
Anyone have any idea whats going on here?
EDITS:
I tried to use tmux but I got the same issue.
Should also mention I don't have a .screenrc file.