When I look at $EC it does not seem to contain the cursor column in my emulator (using a C65 ROM).
To get the current cursor column in BASIC 10 direct mode, it's important that you print something before printing the "peek(236)", because a simple print command always starts at column 0: