mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Previously, the width (or "columns") for the readline shell was being obtained on the server. This causes problems for clients which are connecting to the server which are sized differently. The client will still have problems if they resize AFTER they are connected to the REPL, but at least they have the option of being a different size. A more complete solution would be to have the client listen on process.stdout "resize" and pass that to the server when it occurs, but I'm not sure of an easy way to do that with the current communication (perhaps pause-reconfigure-unpause?). Fixes meteor/meteor#5346
meteor shell
This code used to be integrated into the Meteor command-line tool, which made it difficult to release frequent updates.