suewonjp / tclsh-wrapper

A tiny wrapper for Tcl/Tk's tclsh and wish
Apache License 2.0
22 stars 4 forks source link

multiline behavior? #7

Closed jsuntheimer72 closed 6 years ago

jsuntheimer72 commented 6 years ago

2018-02-12-144939_400x187_escrotum

This is the out-of-the-box experience of opening a {, hitting enter 3 times, then closing the brace. The cursor remains on the top line, moving one space to the right on each keypress. This is occurring on a barely configured xterm, with no customization of prompts in tclsh-wrapper or anything like that.

suewonjp commented 6 years ago

Let me confess I didn't consider multiline interface at all...

So the current multiline behavior is really crazy.

I'll support that.

suewonjp commented 6 years ago

Can you pull https://github.com/suewonjp/tclsh-wrapper/tree/v1.4rc and check it out?

Also, you can copy and paste multiline code snippets if your terminal can communicate with the system clipboard.

jsuntheimer72 commented 6 years ago

Fantastic! Thanks!