-
Notifications
You must be signed in to change notification settings - Fork 304
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
kconfiglib's menuconfig rendered badly, barely usable in visual studio code integrated-terminal (Windows). (IDFGH-2442) (VSC-169) #5
Comments
I don't have this issue with the same ESP-IDF commit and VSCode:
and Python 3.8.1 and zsh 5.7.1. I see in the upstream issue that you use the same VSCode but on Windows. Please test if this helps in any way: |
It seems that option only changes the colors: Anyhow, given that it works on Linux, it must be a Windows issue as you noted in xtermjs/xterm.js#2657 |
Could you try this patch and see if it makes a difference? It forces the entire screen to be redrawn each time. diff --git a/tools/kconfig_new/menuconfig.py b/tools/kconfig_new/menuconfig.py
index b26e2aa14..9d6a236b4 100644
--- a/tools/kconfig_new/menuconfig.py
+++ b/tools/kconfig_new/menuconfig.py
@@ -1374,7 +1374,7 @@ def _draw_main():
# Update the symbol window
#
- _menu_win.erase()
+ _menu_win.clear()
# Draw the _shown nodes starting from index _menu_scroll up to either as
# many as fit in the window, or to the end of _shown Wouldn't want to do that by default, because it causes annoying flicker. If it helps, it's working around a bug. |
Thanks, but the patch made no difference sadly... |
@Devenda |
(Moving this into VSCode Extension because even though the extension isn't responsible for this, it seems like any fix will probably need to come via the extension.) |
@Devenda Since we don't have control over the terminal inside the Visit the extension marketplace to know more. |
Fix Espressif master merge conflicts
Fix Espressif master merge conflicts
fix old configs remove build before debug fix debug adapter unit test DA python pkgs check (espressif#3) * read Cmakelists file for project name (VSC-248) (espressif#43) read build project_description json file for project name * Feature/localization kv val (VSC-226) (VSC-246) (espressif#41) * add gulp i18n validation and src missing key log * rm unused i18n field, add unknown field (espressif#48) * v0.1.4 * Added a custom Debug Adapter * fix old configs remove build before debug * removed outdated extension.test.ts * fix debug adapter unit test * removed repeated options * removed redundant requirements.txt * made `Upload testing.results.log` always executable * add adapter python reqs checking Co-authored-by: Soumesh Banerjee <soumeshbanerjee@live.com> Co-authored-by: Andrey Gramakov <mail@agramakov.me> Fix/da merge (espressif#4) * read Cmakelists file for project name (VSC-248) (espressif#43) read build project_description json file for project name * Feature/localization kv val (VSC-226) (VSC-246) (espressif#41) * add gulp i18n validation and src missing key log * rm unused i18n field, add unknown field (espressif#48) * v0.1.4 * Added a custom Debug Adapter * fix old configs remove build before debug * fix debug adapter unit test * DA python pkgs check (espressif#3) * read Cmakelists file for project name (VSC-248) (espressif#43) read build project_description json file for project name * Feature/localization kv val (VSC-226) (VSC-246) (espressif#41) * add gulp i18n validation and src missing key log * rm unused i18n field, add unknown field (espressif#48) * v0.1.4 * Added a custom Debug Adapter * fix old configs remove build before debug * removed outdated extension.test.ts * fix debug adapter unit test * removed repeated options * removed redundant requirements.txt * made `Upload testing.results.log` always executable * add adapter python reqs checking Co-authored-by: Soumesh Banerjee <soumeshbanerjee@live.com> Co-authored-by: Andrey Gramakov <mail@agramakov.me> * fix merge issues * log adapter output Co-authored-by: Soumesh Banerjee <soumeshbanerjee@live.com> Co-authored-by: Andrey Gramakov <mail@agramakov.me> An dr/feature/debug adapter (espressif#5) Fix Espressif master merge conflicts debug_backend package: removed everything but pygdbmi from the Pipfile update lock fix debug init
fix old configs remove build before debug fix debug adapter unit test DA python pkgs check (espressif#3) * read Cmakelists file for project name (VSC-248) (espressif#43) read build project_description json file for project name * Feature/localization kv val (VSC-226) (VSC-246) (espressif#41) * add gulp i18n validation and src missing key log * rm unused i18n field, add unknown field (espressif#48) * v0.1.4 * Added a custom Debug Adapter * fix old configs remove build before debug * removed outdated extension.test.ts * fix debug adapter unit test * removed repeated options * removed redundant requirements.txt * made `Upload testing.results.log` always executable * add adapter python reqs checking Co-authored-by: Soumesh Banerjee <soumeshbanerjee@live.com> Co-authored-by: Andrey Gramakov <mail@agramakov.me> Fix/da merge (espressif#4) * read Cmakelists file for project name (VSC-248) (espressif#43) read build project_description json file for project name * Feature/localization kv val (VSC-226) (VSC-246) (espressif#41) * add gulp i18n validation and src missing key log * rm unused i18n field, add unknown field (espressif#48) * v0.1.4 * Added a custom Debug Adapter * fix old configs remove build before debug * fix debug adapter unit test * DA python pkgs check (espressif#3) * read Cmakelists file for project name (VSC-248) (espressif#43) read build project_description json file for project name * Feature/localization kv val (VSC-226) (VSC-246) (espressif#41) * add gulp i18n validation and src missing key log * rm unused i18n field, add unknown field (espressif#48) * v0.1.4 * Added a custom Debug Adapter * fix old configs remove build before debug * removed outdated extension.test.ts * fix debug adapter unit test * removed repeated options * removed redundant requirements.txt * made `Upload testing.results.log` always executable * add adapter python reqs checking Co-authored-by: Soumesh Banerjee <soumeshbanerjee@live.com> Co-authored-by: Andrey Gramakov <mail@agramakov.me> * fix merge issues * log adapter output Co-authored-by: Soumesh Banerjee <soumeshbanerjee@live.com> Co-authored-by: Andrey Gramakov <mail@agramakov.me> An dr/feature/debug adapter (espressif#5) Fix Espressif master merge conflicts debug_backend package: removed everything but pygdbmi from the Pipfile update lock fix debug init prettier ignore py files
* Added a custom Debug Adapter * fix old configs remove build before debug * fix debug adapter unit test * DA python pkgs check (#3) * read Cmakelists file for project name (VSC-248) (#43) read build project_description json file for project name * Feature/localization kv val (VSC-226) (VSC-246) (#41) * add gulp i18n validation and src missing key log * rm unused i18n field, add unknown field (#48) * v0.1.4 * Added a custom Debug Adapter * fix old configs remove build before debug * removed outdated extension.test.ts * fix debug adapter unit test * removed repeated options * removed redundant requirements.txt * made `Upload testing.results.log` always executable * add adapter python reqs checking Co-authored-by: Soumesh Banerjee <soumeshbanerjee@live.com> Co-authored-by: Andrey Gramakov <mail@agramakov.me> * Fix/da merge (#4) * read Cmakelists file for project name (VSC-248) (#43) read build project_description json file for project name * Feature/localization kv val (VSC-226) (VSC-246) (#41) * add gulp i18n validation and src missing key log * rm unused i18n field, add unknown field (#48) * v0.1.4 * Added a custom Debug Adapter * fix old configs remove build before debug * fix debug adapter unit test * DA python pkgs check (#3) * read Cmakelists file for project name (VSC-248) (#43) read build project_description json file for project name * Feature/localization kv val (VSC-226) (VSC-246) (#41) * add gulp i18n validation and src missing key log * rm unused i18n field, add unknown field (#48) * v0.1.4 * Added a custom Debug Adapter * fix old configs remove build before debug * removed outdated extension.test.ts * fix debug adapter unit test * removed repeated options * removed redundant requirements.txt * made `Upload testing.results.log` always executable * add adapter python reqs checking Co-authored-by: Soumesh Banerjee <soumeshbanerjee@live.com> Co-authored-by: Andrey Gramakov <mail@agramakov.me> * fix merge issues * log adapter output Co-authored-by: Soumesh Banerjee <soumeshbanerjee@live.com> Co-authored-by: Andrey Gramakov <mail@agramakov.me> * An dr/feature/debug adapter (#5) Fix Espressif master merge conflicts * debug_backend package: removed everything but pygdbmi from the Pipfile * Fix/da conflict (#6) * read Cmakelists file for project name (VSC-248) (#43) read build project_description json file for project name * Feature/localization kv val (VSC-226) (VSC-246) (#41) * add gulp i18n validation and src missing key log * rm unused i18n field, add unknown field (#48) * v0.1.4 Co-authored-by: Soumesh Banerjee <soumeshbanerjee@live.com> * Run prettier * yarn audit fix Co-authored-by: brian@espressif.com <brian@espressif.com> Co-authored-by: Brian A. Ignacio <brianignacio5@gmail.com> Co-authored-by: Soumesh Banerjee <soumeshbanerjee@live.com>
Environment
git describe --tags
to find it):v4.1-dev-1572-g30372f5a4
xtensa-esp32-elf-gcc --version
to find it):xtensa-esp32-elf-gcc (crosstool-NG esp-2019r2) 8.2.0
Problem Description
After updating to the latest version of esp-idf the menuconfig renders badly in the vscode integrated terminal.
Arrow keys did not work in previous versions either. As a workaround the j and k keys do work.
This is most likely an issue with the vscode integrated terminal, but maybe a workaround/fix is known.
See microsoft/vscode#87838 for more details.
Issue espressif/esp-idf#4067 is also equal to my issue, however using bash is not feasible.
Issue espressif/esp-idf#1969 also seems to be relevant, however removing/cleaning the build dir does not help.
The text was updated successfully, but these errors were encountered: