hoosierhobbyist / quantum-shell

An experimental terminal emulator for the Atom text editor
MIT License
19 stars 6 forks source link

Scrolling problem #19

Closed jeroldhaas closed 9 years ago

jeroldhaas commented 9 years ago

The thing just grows and grows and grows in vertical size, and there's no way to scroll or fix the height of the terminal.

I usually run one or two commands, then use cls or clear (or destroy the shell session) to actually see the edited document in the editor.

Can the shell's textbox be styled for scrollable content, and fix the size of the shell, or make it resizable? That would be tops!

hoosierhobbyist commented 9 years ago

There is a setting under Settings>Packages>quantum-shell for the max and min heights of the terminal panel. Could you try playing with those a little bit and let me know how it goes? If that doesn't work we'll have to do a little more digging :smiley:

jeroldhaas commented 9 years ago

Setting the max height to 400, along with the buffer line size, seems to do the trick, however it seems to be ignoring the defaults (for when no values are entered). Perhaps that's where the issue should be directed?

On 22/08/2015, Seth David Bullock notifications@github.com wrote:

There is a setting under Settings>Packages>quantum-shell for the max and min heights of the terminal panel. Could you try playing with those a little bit and let me know how it goes? If that doesn't work we'll have to do a little more digging :smiley:


Reply to this email directly or view it on GitHub: https://github.com/sedabull/quantum-shell/issues/19#issuecomment-133764638

Cheers, Jerold Haas

Software Developer ASP.NET ASP.NET MVC C#, F#, .NET PHP 4/5 JavaScript (jQuery, Mootools) Flash / Flex 3 & 4 / ActionScript 2 & 3 MSSQL, MySQL, PostgreSQL XHTML 1.0, HTML5, CSS2, CSS3

http://www.twitter.com/jeroldhaas http://www.linkedin.com/in/jchaas http://jhaas.emurse.com/

hoosierhobbyist commented 9 years ago

Yes, I would have to agree. Ignored defaults would be an issue with Atom. Is there a greyed out default value displayed in the input box before you type anything? And if so, what is it? I did a really quick search, and there don't seem to be any similar issues open with Atom right now.

jeroldhaas commented 9 years ago

Yes. 400 px for height, and 200 lines for backlogged lines.

On 22/08/2015, Seth David Bullock notifications@github.com wrote:

Yes, I would have to agree. Ignored defaults would be an issue with Atom. Is there a greyed out default value displayed in the input box before you type anything? And if so, what is it? I did a really quick search, and there don't seem to be any similar issues open with Atom right now.


Reply to this email directly or view it on GitHub: https://github.com/sedabull/quantum-shell/issues/19#issuecomment-133767007

Cheers, Jerold Haas

Software Developer ASP.NET ASP.NET MVC C#, F#, .NET PHP 4/5 JavaScript (jQuery, Mootools) Flash / Flex 3 & 4 / ActionScript 2 & 3 MSSQL, MySQL, PostgreSQL XHTML 1.0, HTML5, CSS2, CSS3

http://www.twitter.com/jeroldhaas http://www.linkedin.com/in/jchaas http://jhaas.emurse.com/

hoosierhobbyist commented 9 years ago

I'm going to apologize now if this sounds like a stupid question...but are you sure you're using quantum-shell, and if you are is it version 0.6.2? My current default for maximum height is 250px and I don't have a backlogged lines option.

jeroldhaas commented 9 years ago

My apologies.

The backlogged lines option is called "maximum history," and, my mistake, it's 100 lines (I was trying to recall from memory). Max height is at 250. The module "quantum-shell" is at version 0.6.2.

Nevertheless, it wouldn't limit height or scroll without those options entered.

On 22/08/2015, Seth David Bullock notifications@github.com wrote:

I'm going to apologize now if this sounds like a stupid question...but are you sure you're using quantum-shell, and if you are is it version 0.6.2? My current default for maximum height is 250px and I don't have a backlogged lines option.


Reply to this email directly or view it on GitHub: https://github.com/sedabull/quantum-shell/issues/19#issuecomment-133767124

Cheers, Jerold Haas

Software Developer ASP.NET ASP.NET MVC C#, F#, .NET PHP 4/5 JavaScript (jQuery, Mootools) Flash / Flex 3 & 4 / ActionScript 2 & 3 MSSQL, MySQL, PostgreSQL XHTML 1.0, HTML5, CSS2, CSS3

http://www.twitter.com/jeroldhaas http://www.linkedin.com/in/jchaas http://jhaas.emurse.com/

hoosierhobbyist commented 9 years ago

That's quite alright! Just a minor miscommunication. The maximum history option actually determines how many commands to record so they can be easily recalled using the up and down arrow keys. As far as you're issue is concerned though, it will require further investigation. Could you tell me what OS you're on, as well as your version of Atom? I won't have time to look into it tonight, but as soon as I can I'll see what I can do.

jeroldhaas commented 9 years ago

Aah, yes, that's a different animal altogether, isn't it? :smile:

I'm running Atom 1.0.7 on Windows 10. If you need add'l info (packages installed) I'll happily provide it when/if needed.

On 22/08/2015, Seth David Bullock notifications@github.com wrote:

That's quite alright! Just a minor miscommunication. The maximum history option actually determines how many commands to record so they can be easily recalled using the up and down arrow keys. As far as you're issue is concerned though, it will require further investigation. Could you tell me what OS you're on, as well as your version of Atom? I won't have time to look into it tonight, but as soon as I can I'll see what I can do.


Reply to this email directly or view it on GitHub: https://github.com/sedabull/quantum-shell/issues/19#issuecomment-133767775

Cheers, Jerold Haas

Software Developer ASP.NET ASP.NET MVC C#, F#, .NET PHP 4/5 JavaScript (jQuery, Mootools) Flash / Flex 3 & 4 / ActionScript 2 & 3 MSSQL, MySQL, PostgreSQL XHTML 1.0, HTML5, CSS2, CSS3

http://www.twitter.com/jeroldhaas http://www.linkedin.com/in/jchaas http://jhaas.emurse.com/

hoosierhobbyist commented 9 years ago

If you wouldn't mind experimenting with packages other than quantum-shell to see if this is an isolated issue, that would be awesome :smile:

jeroldhaas commented 9 years ago

I've been experimenting with a lot of packages lately, and many of them have text entry fields (linters using executables that require path to executable, otherwise using system PATH), and I hadn't encountered any text boxes being ignored in the past.

I'll keep mucking about with the ones I have and see if any others might ignore the textbox. A mate of mine works on atom-fsharp and he's using a textbox with default value also. I'll ask him if he'd encountered any issues.

Thanks for looking into this, the awesome shell, and your help!

On 22/08/2015, Seth David Bullock notifications@github.com wrote:

If you wouldn't mind experimenting with packages other than quantum-shell to see if this is an isolated issue, that would be awesome :smile:


Reply to this email directly or view it on GitHub: https://github.com/sedabull/quantum-shell/issues/19#issuecomment-133768145

Cheers, Jerold Haas

Software Developer ASP.NET ASP.NET MVC C#, F#, .NET PHP 4/5 JavaScript (jQuery, Mootools) Flash / Flex 3 & 4 / ActionScript 2 & 3 MSSQL, MySQL, PostgreSQL XHTML 1.0, HTML5, CSS2, CSS3

http://www.twitter.com/jeroldhaas http://www.linkedin.com/in/jchaas http://jhaas.emurse.com/

hoosierhobbyist commented 9 years ago

No problem! Thanks for using quantum-shell and helping to make it better!

hoosierhobbyist commented 9 years ago

Hello, I know it's been a while, but could you let me know if you're still having this issue and if you are could you pull up the debugging console ctrl-shift-i and type the command atom.config.get('quantum-shell.maxHeight'); and let me know what the return value is?

Note: quantum-shell should be active when you do this.

hoosierhobbyist commented 9 years ago

Other Note: please remove the number you entered manually into the config settings.

jeroldhaas commented 9 years ago

After removing the number from the textbox field, the value returned is 250. Perhaps it was a one-off issue, then?

hoosierhobbyist commented 9 years ago

It could be, does the original issue still persist?

— Sent from Mailbox

On Fri, Sep 11, 2015 at 9:28 AM, Jerold Haas notifications@github.com wrote:

After removing the number from the textbox field, the value returned is 250. Perhaps it was a one-off issue, then?

Reply to this email directly or view it on GitHub: https://github.com/sedabull/quantum-shell/issues/19#issuecomment-139545932

jeroldhaas commented 9 years ago

I've managed to reproduce the error again, however I'm not sure precisely the steps. I'll make a list of what I did:

Attached is a screen-shot: image

jeroldhaas commented 9 years ago

Note that if I continue typing dir or ls the top of the shell (as well as the bottom) goes out of sight:

image

jeroldhaas commented 9 years ago

Only custom options set are shell name and user name. Is there a possibility that cmd.exe is causing the extra expansion?

hoosierhobbyist commented 9 years ago

Honestly this is very strange and i have no idea whats causing it. Could you possibly test this on a different OS, preferably windows 8?

jeroldhaas commented 9 years ago

I'm sorry I have no Windows 8 boxes at my current location or at home. :frowning:

hoosierhobbyist commented 9 years ago

Ok no problem! I'll see what i can do when i have some free time.

hoosierhobbyist commented 9 years ago

This issue should be resolved now, so please upgrade to version 0.7.0 and let me know if it works!

jeroldhaas commented 9 years ago

This is confirmed fixed. Thanks ! :smiley:

hoosierhobbyist commented 9 years ago

Any time! Let me know if you have any more issues :smile: