Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new terminal adds too much space #50

Open
musm opened this issue Sep 14, 2018 · 9 comments
Open

new terminal adds too much space #50

musm opened this issue Sep 14, 2018 · 9 comments

Comments

@musm
Copy link

musm commented Sep 14, 2018

test1

please see above. Note I have to scroll back to get to the prompt

@randy3k
Copy link
Owner

randy3k commented Sep 14, 2018

Is it cmd.exe or anything else?

@musm
Copy link
Author

musm commented Sep 14, 2018

I tried CMD and pwsh.exe, same issue

@randy3k
Copy link
Owner

randy3k commented Sep 14, 2018

could you turn on the debug on and send me the log when the terminal is launched.

@musm
Copy link
Author

musm commented Sep 14, 2018

how do i turn debug on ?

console log doesn't show anything useful after opening terminus

@randy3k
Copy link
Owner

randy3k commented Sep 14, 2018

There is a setting in Terminus settings.

@musm
Copy link
Author

musm commented Sep 14, 2018

2018-09-17 10:15:36,021: 1768: DEBUG: on_hover
receieved: �[?25l�[0;36;96mmus@mus-laptop �[0;34;94m~�[0m�[0K

�[0;37;90m>�[0m�[0K
�[1A�[?25h
add 0 line(s) to scroll back history
screen is dirty: [0, 1]
updating lines takes 0.0s
mode: [7, 25], cursor: 0.0
2018-09-17 10:15:39,587: 1768: DEBUG: on_modified
2018-09-17 10:15:39,587: 1768: DEBUG: on_modified_special_view
2018-09-17 10:15:39,587: 1768: DEBUG: enter on_modified: special view. started: False, insert_text_finished: False
2018-09-17 10:15:39,587: 1768: DEBUG: exit on_modified: special view. started: False, insert_text_finished: False
2018-09-17 10:15:39,587: 1768: DEBUG: post_on_modified
2018-09-17 10:15:39,587: 1768: DEBUG: on_selection_modified
receieved: �[?25l



�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K
add 13 line(s) to scroll back history
screen is dirty: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]
updating lines takes 0.04687309265136719s
mode: [7], cursor: 0.16
2018-09-17 10:15:39,681: 1768: DEBUG: on_modified
2018-09-17 10:15:39,681: 1768: DEBUG: on_modified_special_view
2018-09-17 10:15:39,681: 1768: DEBUG: enter on_modified: special view. started: False, insert_text_finished: False
2018-09-17 10:15:39,681: 1768: DEBUG: exit on_modified: special view. started: False, insert_text_finished: False
2018-09-17 10:15:39,681: 1768: DEBUG: post_on_modified
2018-09-17 10:15:39,697: 1768: DEBUG: on_selection_modified
2018-09-17 10:15:41,694: 1768: DEBUG: on_window_command
2018-09-17 10:15:41,694: 1768: DEBUG: Looking for client for extension None in None
2018-09-17 10:15:41,694: 1768: DEBUG: Extension None is not supported yet
2018-09-17 10:15:41,709: 1768: DEBUG: on_activated
2018-09-17 10:15:41,725: 1768: DEBUG: on_activated_special_view
2018-09-17 10:15:45,094: 1768: DEBUG: on_hover
scan: /C/Users/Mus/AppData/Local/Application Data has been seen before, skipping (using inode) previous path: /C/Users/Mus/AppData/Local inode: 9288674233661597
scan: symlink to /C/Users/Mus/AppData/Roaming/Microsoft/Windows/Network Shortcuts has been seen before, superseding (using inode) previous path: /C/Users/Mus/NetHood inode: 7318349396686996
scan: symlink to /C/Users/Mus/AppData/Roaming/Microsoft/Windows/Printer Shortcuts has been seen before, superseding (using inode) previous path: /C/Users/Mus/PrintHood inode: 7881299350108307
scan: symlink to /C/Users/Mus/AppData/Roaming/Microsoft/Windows/SendTo has been seen before, superseding (using inode) previous path: /C/Users/Mus/SendTo inode: 7599824373397646
scan: symlink to /C/Users/Mus/AppData/Roaming/Microsoft/Windows/Start Menu has been seen before, superseding (using inode) previous path: /C/Users/Mus/Start Menu inode: 7318349396686981
scan: symlink to /C/Users/Mus/AppData/Roaming/Microsoft/Windows/Templates has been seen before, superseding (using inode) previous path: /C/Users/Mus/Templates inode: 7318349396686980
scan: symlink to /C/Users/Mus/AppData/Roaming/Microsoft/Windows/Recent has been seen before, superseding (using inode) previous path: /C/Users/Mus/Recent inode: 4222124652655006
scan: symlink to /C/Users/Mus/AppData/Roaming/Sublime Text 3/Packages/User has been seen before, superseding (using inode) previous path: /C/Users/Mus/Dropbox (MIT)/shared/Sublime inode: 53480245575091303
scan: symlink to /C/Users/Mus/AppData/Local/Microsoft/Windows/History has been seen before, superseding (using inode) previous path: /C/Users/Mus/AppData/Local/History inode: 1407374884791265
scan: symlink to /C/Users/Mus/AppData/Local/Microsoft/Windows/INetCache has been seen before, superseding (using inode) previous path: /C/Users/Mus/AppData/Local/Temporary Internet Files inode: 8725724280240318
scan: symlink to /C/Users/Mus/AppData/Local/Microsoft/Windows/INetCookies has been seen before, superseding (using inode) previous path: /C/Users/Mus/Cookies inode: 1407374884791263
scan: /C/Users/Mus/AppData/Local/Microsoft/Windows/Temporary Internet Files has been seen before, skipping (using inode) previous path: /C/Users/Mus/AppData/Local/Microsoft/Windows/INetCache inode: 8725724280240318
2018-09-17 10:16:22,452: 1768: DEBUG: on_window_command
2018-09-17 10:16:22,452: 1768: DEBUG: Looking for client for extension None in None
2018-09-17 10:16:22,452: 1768: DEBUG: Extension None is not supported yet
2018-09-17 10:16:22,452: 1768: DEBUG: on_window_command
2018-09-17 10:16:22,452: 1768: DEBUG: Looking for client for extension None in None
2018-09-17 10:16:22,452: 1768: DEBUG: Extension None is not supported yet
2018-09-17 10:16:22,468: 1768: DEBUG: on_window_command
2018-09-17 10:16:22,468: 1768: DEBUG: Looking for client for extension None in None
2018-09-17 10:16:22,468: 1768: DEBUG: Extension None is not supported yet
2018-09-17 10:16:22,484: 1768: DEBUG: on_activated
2018-09-17 10:16:22,515: 1768: DEBUG: on_activated
2018-09-17 10:16:22,515: 1768: DEBUG: on_close
2018-09-17 10:16:22,530: 1768: DEBUG: Looking for client for extension None in None
2018-09-17 10:16:22,530: 1768: DEBUG: Extension None is not supported yet
view size: (8, 163)
add 0 line(s) to scroll back history
screen is dirty: [0, 1, 2, 3, 4, 5, 6, 7]
updating lines takes 0.0s
mode: [7, 25], cursor: 0.0
2018-09-17 10:16:22,937: 1768: DEBUG: on_modified
2018-09-17 10:16:22,937: 1768: DEBUG: post_on_modified
2018-09-17 10:16:22,937: 1768: DEBUG: on_selection_modified
2018-09-17 10:16:23,037: 1768: DEBUG: on_idle
receieved: �[0m�[0K
add 0 line(s) to scroll back history
screen is dirty: [0]
updating lines takes 0.0070018768310546875s
mode: [7, 25], cursor: 0.0
2018-09-17 10:16:23,071: 1768: DEBUG: on_modified
2018-09-17 10:16:23,072: 1768: DEBUG: post_on_modified
2018-09-17 10:16:23,074: 1768: DEBUG: on_selection_modified
2018-09-17 10:16:23,177: 1768: DEBUG: on_idle
scan: symlink to /C/Users/Mus/AppData/Local/Microsoft/Windows/INetCache/IE has been seen before, superseding (using inode) previous path: /C/Users/Mus/AppData/Local/Microsoft/Windows/INetCache/Content.IE5 inode: 6473924464550020
scan: symlink to /C/Users/Mus/AppData/Local/Microsoft/Windows/INetCache/Low/IE has been seen before, superseding (using inode) previous path: /C/Users/Mus/AppData/Local/Microsoft/Windows/INetCache/Low/Content.IE5 inode: 50384020831565730
number of files to index (0) exceeds index_files_sanity_limit (524288), bailing out
receieved: �[?25l�[0;36;96mmus@mus-laptop �[0;34;94m~�[0m�[0K

�[0;37;90m>�[0m�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K

�[0K
add 22 line(s) to scroll back history
screen is dirty: [0, 1, 2, 3, 4, 5, 6, 7]
updating lines takes 0.031237125396728516s
mode: [7], cursor: 0.7
2018-09-17 10:16:26,744: 1768: DEBUG: on_modified
2018-09-17 10:16:26,744: 1768: DEBUG: post_on_modified
2018-09-17 10:16:26,744: 1768: DEBUG: on_selection_modified
2018-09-17 10:16:26,853: 1768: DEBUG: on_idle
2018-09-17 10:16:35,361: 1768: DEBUG: on_text_command
2018-09-17 10:16:35,361: 1768: DEBUG: on_text_command
2018-09-17 10:16:35,361: 1768: DEBUG: on_selection_modified
2018-09-17 10:16:35,377: 1768: DEBUG: on_post_text_command
2018-09-17 10:16:35,470: 1768: DEBUG: on_selection_modified
number of files to index (0) exceeds index_files_sanity_limit (524288), bailing out
handle resize 8 163 -> 8 153
2018-09-17 10:16:38,060: 1768: DEBUG: on_selection_modified
add 0 line(s) to scroll back history
screen is dirty: [0, 1, 2, 3, 4, 5, 6, 7]
updating lines takes 0.0s
mode: [7], cursor: 0.7
2018-09-17 10:16:38,076: 1768: DEBUG: on_modified
2018-09-17 10:16:38,091: 1768: DEBUG: post_on_modified
2018-09-17 10:16:38,091: 1768: DEBUG: on_selection_modified
2018-09-17 10:16:38,201: 1768: DEBUG: on_idle
handle resize 8 153 -> 8 199
add 0 line(s) to scroll back history
screen is dirty: [0, 1, 2, 3, 4, 5, 6, 7]
updating lines takes 0.01563096046447754s
mode: [7], cursor: 0.7
2018-09-17 10:16:39,110: 1768: DEBUG: on_modified
2018-09-17 10:16:39,110: 1768: DEBUG: post_on_modified
2018-09-17 10:16:39,110: 1768: DEBUG: on_selection_modified
2018-09-17 10:16:39,235: 1768: DEBUG: on_idle
handle resize 8 199 -> 8 214
add 0 line(s) to scroll back history
screen is dirty: [0, 1, 2, 3, 4, 5, 6, 7]
updating lines takes 0.015558004379272461s
mode: [7], cursor: 0.7
2018-09-17 10:16:40,094: 1768: DEBUG: on_modified
2018-09-17 10:16:40,110: 1768: DEBUG: post_on_modified
2018-09-17 10:16:40,110: 1768: DEBUG: on_selection_modified
2018-09-17 10:16:40,219: 1768: DEBUG: on_idle
number of files to index (0) exceeds index_files_sanity_limit (524288), bailing out
number of files to index (0) exceeds index_files_sanity_limit (524288), bailing out

@randy3k
Copy link
Owner

randy3k commented Sep 14, 2018

There should be some output before these when the panel is just created.

@musm
Copy link
Author

musm commented Sep 17, 2018

I updated the log with more extended output. Let me know if this is better.

@randy3k
Copy link
Owner

randy3k commented Sep 17, 2018

For some reasons, your process is sending a lot of new lines to Terminus (see those <esc>[0k<newline> in the log. I believe it is not an issue of Terminus, but an issue of cmd.exe or whatever you are using. Another possibility is that a Sublime Package is mysteriously sending these new lines to Terminus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants