Closed ChocolateLoverRaj closed 4 months ago
code-server --version
nix-shell -p code-server
code-server
tab and arrow keys work and everything looks normal
Tab and arrow keys don't work and things look wierd (\[\])
\[\]
[16:37:23] Terminal profile not validated zsh [ 'zsh' ] [16:37:23] Terminal profile not validated fish [ 'fish' ] [16:37:23] Terminal profile not validated tmux [ 'tmux' ] [16:37:23] Terminal profile not validated pwsh [ 'pwsh' ] [16:37:23] Terminal process launching on remote agent { shellLaunchConfig: { name: undefined, executable: '/nix/store/agkxax48k35wdmkhmmija2i2sxg8i7ny-bash-5.2p26/bin/bash', args: undefined, cwd: '/home/rajas/.config/home-manager', env: undefined, useShellEnvironment: true, reconnectionProperties: undefined, type: undefined, isFeatureTerminal: undefined }, initialCwd: '/home/rajas/.config/home-manager', cols: 143, rows: 17, env: { SHELL: '/run/current-system/sw/bin/bash', __ETC_PROFILE_DONE: '1', OBJDUMP_FOR_TARGET: 'objdump', XDG_CONFIG_DIRS: '/home/rajas/.config/kdedefaults:/etc/xdg:/home/rajas/.nix-profile/etc/xdg:/nix/profile/etc/xdg:/home/rajas/.local/state/nix/profile/etc/xdg:/etc/profiles/per-user/rajas/etc/xdg:/nix/var/nix/profiles/default/etc/xdg:/run/current-system/sw/etc/xdg', NIX_LD_LIBRARY_PATH: '/run/current-system/sw/share/nix-ld/lib', NIX_BUILD_CORES: '12', NIX_GCROOT: '/nix/store/jcy5nxm1rvqsll8n2chmjr3572kbcxgb-nix-shell-env', configureFlags: '', mesonFlags: '', shell: '/nix/store/agkxax48k35wdmkhmmija2i2sxg8i7ny-bash-5.2p26/bin/bash', SIZE_FOR_TARGET: 'size', depsHostHost: '', LC_ADDRESS: 'en_US.UTF-8', AS_FOR_TARGET: 'as', LC_NAME: 'en_US.UTF-8', CC_FOR_TARGET: 'gcc', STRINGS: 'strings', depsTargetTarget: '', LD_FOR_TARGET: 'ld', XCURSOR_PATH: '/home/rajas/.icons:/home/rajas/.local/share/icons:/home/rajas/.nix-profile/share/icons:/home/rajas/.nix-profile/share/pixmaps:/nix/profile/share/icons:/nix/profile/share/pixmaps:/home/rajas/.local/state/nix/profile/share/icons:/home/rajas/.local/state/nix/profile/share/pixmaps:/etc/profiles/per-user/rajas/share/icons:/etc/profiles/per-user/rajas/share/pixmaps:/nix/var/nix/profiles/default/share/icons:/nix/var/nix/profiles/default/share/pixmaps:/run/current-system/sw/share/icons:/run/current-system/sw/share/pixmaps', stdenv: '/nix/store/d3dzfy4amjl826fb8j00qp1d9887h7hm-stdenv-linux', builder: '/nix/store/agkxax48k35wdmkhmmija2i2sxg8i7ny-bash-5.2p26/bin/bash', LC_MONETARY: 'en_US.UTF-8', shellHook: '', NO_AT_BRIDGE: '1', NIX_BINTOOLS_FOR_TARGET: '/nix/store/l46fjkzva0bhvy9p2r7p4vi68kr7a1db-binutils-wrapper-2.41', NIX_LDFLAGS_FOR_TARGET: ' -L/nix/store/74i9zjvp9x1kfcrfiwic8lwsqrx99a3n-linux-pam-1.6.1/lib -L/nix/store/mmkilm1snjipjdw3wgbd1h982624k9ir-rust-default-1.79.0/lib', EDITOR: 'nano', phases: 'buildPhase', PWD: '/home/rajas/Documents/rust-fp', NIX_PROFILES: '/run/current-system/sw /nix/var/nix/profiles/default /etc/profiles/per-user/rajas /home/rajas/.local/state/nix/profile /nix/profile /home/rajas/.nix-profile', SOURCE_DATE_EPOCH: '315532800', LOGNAME: 'rajas', XDG_SESSION_TYPE: 'tty', NIX_ENFORCE_NO_NATIVE: '1', NIX_BINTOOLS_WRAPPER_TARGET_TARGET_x86_64_unknown_linux_gnu: '1', CUPS_DATADIR: '/nix/store/dk4bq6n7gm3c3dmylhbywqx0mq2rcm6c-cups-progs/share/cups', NIX_PATH: 'nixpkgs=flake:nixpkgs:/nix/var/nix/profiles/per-user/root/channels', STRIP_FOR_TARGET: 'strip', NIXPKGS_CONFIG: '/etc/nix/nixpkgs-config.nix', RANLIB_FOR_TARGET: 'ranlib', CXX: 'g++', _: '/nix/store/mv0kmn6frsz8wr7zkbr7jd7sbzw4c27d-nodejs-18.20.2/bin/node', TEMPDIR: '/tmp/nix-shell.1ElEyT', system: 'x86_64-linux', STRINGS_FOR_TARGET: 'strings', HOST_PATH: '/nix/store/mpm3i0sbqc9svfch6a17179fs64dz2kv-gcc-wrapper-13.3.0/bin:/nix/store/l46fjkzva0bhvy9p2r7p4vi68kr7a1db-binutils-wrapper-2.41/bin:/nix/store/74i9zjvp9x1kfcrfiwic8lwsqrx99a3n-linux-pam-1.6.1/bin:/nix/store/mmkilm1snjipjdw3wgbd1h982624k9ir-rust-default-1.79.0/bin:/nix/store/i7qhgc0bs725qw3wdanznfkdna4z2ns2-coreutils-9.5/bin:/nix/store/rr1yixvn0z63mgq9s04ig9j9qlz23s2g-findutils-4.9.0/bin:/nix/store/j4gkc44c1pwl5ccgxm83s4r746bsdcw9-diffutils-3.10/bin:/nix/store/ks6c62g0m3gqrs5i7m0cv6d6aqhdvirn-gnused-4.9/bin:/nix/store/md9apn3290h7kv0x198ihaaa3k6icg4b-gnugrep-3.11/bin:/nix/store/hkx0wcm23i9ihqlysri8n41kl232kawb-gawk-5.2.2/bin:/nix/store/95ljdxg4drk1iq8jkjfq2c0z5vbwv8vm-gnutar-1.35/bin:/nix/store/nc9lq1lra01932rfyclq3gsh82cxbmii-gzip-1.13/bin:/nix/store/cyc3v8qfkhn4r38a8s5d7f2c33q624mz-bzip2-1.0.8-bin/bin:/nix/store/18z454gyz0wpb641rw6gpqk0vi4wbxy6-gnumake-4.4.1/bin:/nix/store/agkxax48k35wdmkhmmija2i2sxg8i7ny-bash-5.2p26/bin:/nix/store/r05c0lpbnjc8dg3rrr3ck7s07pjy86j3-patch-2.7.6/bin:/nix/store/qqhrymypl970jc6npvi9a6sikhr84mdf-xz-5.4.6-bin/bin:/nix/store/qcqmiq1mb3pkk2bxbj6d6gb2fk9knk8l-file-5.45/bin', LIBCLANG_PATH: '/nix/store/i91a9lv2mp91h93plr8n34xdkr16xi49-clang-17.0.6-lib/lib', IN_NIX_SHELL: 'impure', doInstallCheck: '', HOME: '/home/rajas', NIX_BINTOOLS: '/nix/store/l46fjkzva0bhvy9p2r7p4vi68kr7a1db-binutils-wrapper-2.41', SSH_ASKPASS: '', LANG: 'en_US.UTF-8', LC_PAPER: 'en_US.UTF-8', LS_COLORS: 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.7z=01;31:*.ace=01;31:*.alz=01;31:*.apk=01;31:*.arc=01;31:*.arj=01;31:*.bz=01;31:*.bz2=01;31:*.cab=01;31:*.cpio=01;31:*.crate=01;31:*.deb=01;31:*.drpm=01;31:*.dwm=01;31:*.dz=01;31:*.ear=01;31:*.egg=01;31:*.esd=01;31:*.gz=01;31:*.jar=01;31:*.lha=01;31:*.lrz=01;31:*.lz=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.lzo=01;31:*.pyz=01;31:*.rar=01;31:*.rpm=01;31:*.rz=01;31:*.sar=01;31:*.swm=01;31:*.t7z=01;31:*.tar=01;31:*.taz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tgz=01;31:*.tlz=01;31:*.txz=01;31:*.tz=01;31:*.tzo=01;31:*.tzst=01;31:*.udeb=01;31:*.war=01;31:*.whl=01;31:*.wim=01;31:*.xz=01;31:*.z=01;31:*.zip=01;31:*.zoo=01;31:*.zst=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.crdownload=00;90:*.dpkg-dist=00;90:*.dpkg-new=00;90:*.dpkg-old=00;90:*.dpkg-tmp=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:*.swp=00;90:*.tmp=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:', depsTargetTargetPropagated: '', cmakeFlags: '', outputs: 'out', GIO_EXTRA_MODULES: '/nix/store/46cgzg2dq0qk3x4w59anz7c54sschn7v-dconf-0.40.0-lib/lib/gio/modules', NIX_STORE: '/nix/store', TMPDIR: '/tmp/nix-shell.1ElEyT', NIX_CFLAGS_COMPILE_FOR_TARGET: ' -isystem /nix/store/74i9zjvp9x1kfcrfiwic8lwsqrx99a3n-linux-pam-1.6.1/include', READELF_FOR_TARGET: 'readelf', LD: 'ld', buildPhase: '{ echo "------------------------------------------------------------";\n' + ' echo " WARNING: the existence of this path is not guaranteed.";\n' + ' echo " It is an internal implementation detail for pkgs.mkShell.";\n' + ' echo "------------------------------------------------------------";\n' + ' echo;\n' + ' # Record all build inputs as runtime dependencies\n' + ' export;\n' + '} >> "$out"\n', AR_FOR_TARGET: 'ar', SSH_CONNECTION: '192.168.0.2 38122 192.168.0.6 22', READELF: 'readelf', GTK_A11Y: 'none', NIX_USER_PROFILE_DIR: '/nix/var/nix/profiles/per-user/rajas', INFOPATH: '/home/rajas/.nix-profile/info:/home/rajas/.nix-profile/share/info:/nix/profile/info:/nix/profile/share/info:/home/rajas/.local/state/nix/profile/info:/home/rajas/.local/state/nix/profile/share/info:/etc/profiles/per-user/rajas/info:/etc/profiles/per-user/rajas/share/info:/nix/var/nix/profiles/default/info:/nix/var/nix/profiles/default/share/info:/run/current-system/sw/info:/run/current-system/sw/share/info', doCheck: '', depsBuildBuild: '', XDG_SESSION_CLASS: 'user', TERM: 'xterm-256color', LC_IDENTIFICATION: 'en_US.UTF-8', GTK_PATH: '/home/rajas/.nix-profile/lib/gtk-2.0:/home/rajas/.nix-profile/lib/gtk-3.0:/home/rajas/.nix-profile/lib/gtk-4.0:/nix/profile/lib/gtk-2.0:/nix/profile/lib/gtk-3.0:/nix/profile/lib/gtk-4.0:/home/rajas/.local/state/nix/profile/lib/gtk-2.0:/home/rajas/.local/state/nix/profile/lib/gtk-3.0:/home/rajas/.local/state/nix/profile/lib/gtk-4.0:/etc/profiles/per-user/rajas/lib/gtk-2.0:/etc/profiles/per-user/rajas/lib/gtk-3.0:/etc/profiles/per-user/rajas/lib/gtk-4.0:/nix/var/nix/profiles/default/lib/gtk-2.0:/nix/var/nix/profiles/default/lib/gtk-3.0:/nix/var/nix/profiles/default/lib/gtk-4.0:/run/current-system/sw/lib/gtk-2.0:/run/current-system/sw/lib/gtk-3.0:/run/current-system/sw/lib/gtk-4.0', SIZE: 'size', propagatedNativeBuildInputs: '', LESSOPEN: '|/nix/store/js7k4lhbjmab8m3i3axpv1ksap1vr5ic-lesspipe-2.11/bin/lesspipe.sh %s', strictDeps: '', USER: 'rajas', NIX_CC_WRAPPER_TARGET_TARGET_x86_64_unknown_linux_gnu: '1', TZDIR: '/etc/zoneinfo', NIX_LD: '/run/current-system/sw/share/nix-ld/lib/ld.so', AR: 'ar', AS: 'as', TEMP: '/tmp/nix-shell.1ElEyT', NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu: '1', SHLVL: '3', NIX_BUILD_TOP: '/tmp/nix-shell.1ElEyT', CXX_FOR_TARGET: 'g++', NM: 'nm', PAGER: 'less', NIX_CFLAGS_COMPILE: ' -frandom-seed=jcy5nxm1rv -isystem /nix/store/74i9zjvp9x1kfcrfiwic8lwsqrx99a3n-linux-pam-1.6.1/include -isystem /nix/store/74i9zjvp9x1kfcrfiwic8lwsqrx99a3n-linux-pam-1.6.1/include -isystem /nix/store/74i9zjvp9x1kfcrfiwic8lwsqrx99a3n-linux-pam-1.6.1/include -isystem /nix/store/74i9zjvp9x1kfcrfiwic8lwsqrx99a3n-linux-pam-1.6.1/include', LC_TELEPHONE: 'en_US.UTF-8', QTWEBKIT_PLUGIN_PATH: '/home/rajas/.nix-profile/lib/mozilla/plugins/:/nix/profile/lib/mozilla/plugins/:/home/rajas/.local/state/nix/profile/lib/mozilla/plugins/:/etc/profiles/per-user/rajas/lib/mozilla/plugins/:/nix/var/nix/profiles/default/lib/mozilla/plugins/:/run/current-system/sw/lib/mozilla/plugins/', patches: '', LC_MEASUREMENT: 'en_US.UTF-8', __NIXOS_SET_ENVIRONMENT_DONE: '1', buildInputs: '/nix/store/xp4xvw5xjig4hp9qg4vgws5vxk0gj3g6-rust-bindgen-hook /nix/store/74i9zjvp9x1kfcrfiwic8lwsqrx99a3n-linux-pam-1.6.1 /nix/store/mmkilm1snjipjdw3wgbd1h982624k9ir-rust-default-1.79.0', XDG_SESSION_ID: '21', preferLocalBuild: '1', LOCALE_ARCHIVE: '/run/current-system/sw/lib/locale/locale-archive', LESSKEYIN_SYSTEM: '/nix/store/x2glzanwqsiwhf9crm5aa0l4xf8ah27y-lessconfig', QML2_IMPORT_PATH: '/home/rajas/.nix-profile/lib/qt-5.15.14/qml:/home/rajas/.nix-profile/lib/qt-6/qml:/nix/profile/lib/qt-5.15.14/qml:/nix/profile/lib/qt-6/qml:/home/rajas/.local/state/nix/profile/lib/qt-5.15.14/qml:/home/rajas/.local/state/nix/profile/lib/qt-6/qml:/etc/profiles/per-user/rajas/lib/qt-5.15.14/qml:/etc/profiles/per-user/rajas/lib/qt-6/qml:/nix/var/nix/profiles/default/lib/qt-5.15.14/qml:/nix/var/nix/profiles/default/lib/qt-6/qml:/run/current-system/sw/lib/qt-5.15.14/qml:/run/current-system/sw/lib/qt-6/qml', TERMINFO_DIRS: '/home/rajas/.nix-profile/share/terminfo:/nix/profile/share/terminfo:/home/rajas/.local/state/nix/profile/share/terminfo:/etc/profiles/per-user/rajas/share/terminfo:/nix/var/nix/profiles/default/share/terminfo:/run/current-system/sw/share/terminfo', XDG_RUNTIME_DIR: '/run/user/1000', NM_FOR_TARGET: 'nm', OBJCOPY_FOR_TARGET: 'objcopy', SSH_CLIENT: '192.168.0.2 38122 22', depsBuildTarget: '', OBJCOPY: 'objcopy', NIX_XDG_DESKTOP_PORTAL_DIR: '/run/current-system/sw/share/xdg-desktop-portal/portals', out: '/home/rajas/Documents/rust-fp/outputs/out', LC_TIME: 'en_US.UTF-8', DOCKER_HOST: 'unix:///run/user/1000/docker.sock', BINDGEN_EXTRA_CLANG_ARGS: '-B/nix/store/zc0nsv23pakbafngjy32kvhfzb16as43-gcc-13.3.0/lib/gcc/x86_64-unknown-linux-gnu/13.3.0 --gcc-toolchain=/nix/store/zc0nsv23pakbafngjy32kvhfzb16as43-gcc-13.3.0 -B/nix/store/i91a9lv2mp91h93plr8n34xdkr16xi49-clang-17.0.6-lib/lib -resource-dir=/nix/store/svf4zn4qg9lsxfn4znyxk7nl80hlmgpm-clang-wrapper-17.0.6/resource-root -idirafter /nix/store/4vgk1rlzdqjnpjicb5qcxjcd4spi7wyw-glibc-2.39-52-dev/include -isystem /nix/store/zc0nsv23pakbafngjy32kvhfzb16as43-gcc-13.3.0/include/c++/13.3.0 -isystem /nix/store/zc0nsv23pakbafngjy32kvhfzb16as43-gcc-13.3.0/include/c++/13.3.0/x86_64-unknown-linux-gnu -frandom-seed=jcy5nxm1rv -isystem /nix/store/74i9zjvp9x1kfcrfiwic8lwsqrx99a3n-linux-pam-1.6.1/include -isystem /nix/store/74i9zjvp9x1kfcrfiwic8lwsqrx99a3n-linux-pam-1.6.1/include -isystem /nix/store/74i9zjvp9x1kfcrfiwic8lwsqrx99a3n-linux-pam-1.6.1/include -isystem /nix/store/74i9zjvp9x1kfcrfiwic8lwsqrx99a3n-linux-pam-1.6.1/include', STRIP: 'strip', XDG_DATA_DIRS: '/nix/store/pdqndw2kgjv8l3kd5ii0c833jqmxdanq-patchelf-0.15.0/share:/nix/store/d814zpimnah9rznfg5mqchzb6zdj8r5s-desktops/share:/home/rajas/.nix-profile/share:/nix/profile/share:/home/rajas/.local/state/nix/profile/share:/etc/profiles/per-user/rajas/share:/nix/var/nix/profiles/default/share:/run/current-system/sw/share', LIBEXEC_PATH: '/home/rajas/.nix-profile/libexec:/nix/profile/libexec:/home/rajas/.local/state/nix/profile/libexec:/etc/profiles/per-user/rajas/libexec:/nix/var/nix/profiles/default/libexec:/run/current-system/sw/libexec', TMP: '/tmp/nix-shell.1ElEyT', OBJDUMP: 'objdump', PATH: '/nix/store/15w8rfa9yr4wmybdn29invbap0s284ij-code-server-4.89.1/libexec/code-server/lib/vscode/bin/remote-cli:/nix/store/15w8rfa9yr4wmybdn29invbap0s284ij-code-server-4.89.1/bin:/nix/store/pdqndw2kgjv8l3kd5ii0c833jqmxdanq-patchelf-0.15.0/bin:/nix/store/mpm3i0sbqc9svfch6a17179fs64dz2kv-gcc-wrapper-13.3.0/bin:/nix/store/zc0nsv23pakbafngjy32kvhfzb16as43-gcc-13.3.0/bin:/nix/store/082x03cmpnsqkfp4ljrhsadz68rh3q1h-glibc-2.39-52-bin/bin:/nix/store/i7qhgc0bs725qw3wdanznfkdna4z2ns2-coreutils-9.5/bin:/nix/store/l46fjkzva0bhvy9p2r7p4vi68kr7a1db-binutils-wrapper-2.41/bin:/nix/store/wwfrj9kvfi14xclc38qfwm71ah6aawdh-binutils-2.41/bin:/nix/store/74i9zjvp9x1kfcrfiwic8lwsqrx99a3n-linux-pam-1.6.1/bin:/nix/store/mmkilm1snjipjdw3wgbd1h982624k9ir-rust-default-1.79.0/bin:/nix/store/i7qhgc0bs725qw3wdanznfkdna4z2ns2-coreutils-9.5/bin:/nix/store/rr1yixvn0z63mgq9s04ig9j9qlz23s2g-findutils-4.9.0/bin:/nix/store/j4gkc44c1pwl5ccgxm83s4r746bsdcw9-diffutils-3.10/bin:/nix/store/ks6c62g0m3gqrs5i7m0cv6d6aqhdvirn-gnused-4.9/bin:/nix/store/md9apn3290h7kv0x198ihaaa3k6icg4b-gnugrep-3.11/bin:/nix/store/hkx0wcm23i9ihqlysri8n41kl232kawb-gawk-5.2.2/bin:/nix/store/95ljdxg4drk1iq8jkjfq2c0z5vbwv8vm-gnutar-1.35/bin:/nix/store/nc9lq1lra01932rfyclq3gsh82cxbmii-gzip-1.13/bin:/nix/store/cyc3v8qfkhn4r38a8s5d7f2c33q624mz-bzip2-1.0.8-bin/bin:/nix/store/18z454gyz0wpb641rw6gpqk0vi4wbxy6-gnumake-4.4.1/bin:/nix/store/agkxax48k35wdmkhmmija2i2sxg8i7ny-bash-5.2p26/bin:/nix/store/r05c0lpbnjc8dg3rrr3ck7s07pjy86j3-patch-2.7.6/bin:/nix/store/qqhrymypl970jc6npvi9a6sikhr84mdf-xz-5.4.6-bin/bin:/nix/store/qcqmiq1mb3pkk2bxbj6d6gb2fk9knk8l-file-5.45/bin:/run/wrappers/bin:/home/rajas/.nix-profile/bin:/nix/profile/bin:/home/rajas/.local/state/nix/profile/bin:/etc/profiles/per-user/rajas/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin', propagatedBuildInputs: '', dontAddDisableDepTrack: '1', CC: 'gcc', NIX_CC_FOR_TARGET: '/nix/store/mpm3i0sbqc9svfch6a17179fs64dz2kv-gcc-wrapper-13.3.0', NIX_CC: '/nix/store/mpm3i0sbqc9svfch6a17179fs64dz2kv-gcc-wrapper-13.3.0', DBUS_SESSION_BUS_ADDRESS: 'unix:path=/run/user/1000/bus', depsBuildTargetPropagated: '', depsBuildBuildPropagated: '', NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu: '1', KPACKAGE_DEP_RESOLVERS_PATH: '/nix/store/s6bdn9cxmxx703lj0jabv9v5br7fc7nh-frameworkintegration-6.3.0/libexec/kf6/kpackagehandlers', SSH_TTY: '/dev/pts/0', QT_PLUGIN_PATH: '/home/rajas/.nix-profile/lib/qt-5.15.14/plugins:/home/rajas/.nix-profile/lib/qt-6/plugins:/nix/profile/lib/qt-5.15.14/plugins:/nix/profile/lib/qt-6/plugins:/home/rajas/.local/state/nix/profile/lib/qt-5.15.14/plugins:/home/rajas/.local/state/nix/profile/lib/qt-6/plugins:/etc/profiles/per-user/rajas/lib/qt-5.15.14/plugins:/etc/profiles/per-user/rajas/lib/qt-6/plugins:/nix/var/nix/profiles/default/lib/qt-5.15.14/plugins:/nix/var/nix/profiles/default/lib/qt-6/plugins:/run/current-system/sw/lib/qt-5.15.14/plugins:/run/current-system/sw/lib/qt-6/plugins', CONFIG_SHELL: '/nix/store/agkxax48k35wdmkhmmija2i2sxg8i7ny-bash-5.2p26/bin/bash', __structuredAttrs: '', RANLIB: 'ranlib', NIX_HARDENING_ENABLE: 'bindnow format fortify fortify3 pic relro stackprotector strictoverflow', LC_NUMERIC: 'en_US.UTF-8', NIX_LDFLAGS: '-rpath /home/rajas/Documents/rust-fp/outputs/out/lib -L/nix/store/74i9zjvp9x1kfcrfiwic8lwsqrx99a3n-linux-pam-1.6.1/lib -L/nix/store/74i9zjvp9x1kfcrfiwic8lwsqrx99a3n-linux-pam-1.6.1/lib -L/nix/store/mmkilm1snjipjdw3wgbd1h982624k9ir-rust-default-1.79.0/lib -L/nix/store/mmkilm1snjipjdw3wgbd1h982624k9ir-rust-default-1.79.0/lib -L/nix/store/74i9zjvp9x1kfcrfiwic8lwsqrx99a3n-linux-pam-1.6.1/lib -L/nix/store/74i9zjvp9x1kfcrfiwic8lwsqrx99a3n-linux-pam-1.6.1/lib -L/nix/store/mmkilm1snjipjdw3wgbd1h982624k9ir-rust-default-1.79.0/lib -L/nix/store/mmkilm1snjipjdw3wgbd1h982624k9ir-rust-default-1.79.0/lib', nativeBuildInputs: '', name: 'nix-shell-env', depsHostHostPropagated: '', LOG_LEVEL: 'trace', NODE_EXEC_PATH: '/nix/store/mv0kmn6frsz8wr7zkbr7jd7sbzw4c27d-nodejs-18.20.2/bin/node', __HM_SESS_VARS_SOURCED: '1', LOCALE_ARCHIVE_2_27: '/nix/store/2qzm5lxha6wqkv2czifgmlni465ffkdl-glibc-locales-2.39-52/lib/locale/locale-archive', ATUIN_SESSION: '019070a8c2be79568d20bfb7ae60fb89', ATUIN_PREEXEC_BACKEND: '4:none', VSCODE_PROXY_URI: 'http://localhost:8080/proxy/{{port}}/', BROWSER: '/nix/store/15w8rfa9yr4wmybdn29invbap0s284ij-code-server-4.89.1/libexec/code-server/lib/vscode/bin/helpers/browser.sh', TERM_PROGRAM: 'vscode', TERM_PROGRAM_VERSION: '1.89.1', COLORTERM: 'truecolor', GIT_ASKPASS: '/nix/store/15w8rfa9yr4wmybdn29invbap0s284ij-code-server-4.89.1/libexec/code-server/lib/vscode/extensions/git/dist/askpass.sh', VSCODE_GIT_ASKPASS_NODE: '/nix/store/mv0kmn6frsz8wr7zkbr7jd7sbzw4c27d-nodejs-18.20.2/bin/node', VSCODE_GIT_ASKPASS_EXTRA_ARGS: '', VSCODE_GIT_ASKPASS_MAIN: '/nix/store/15w8rfa9yr4wmybdn29invbap0s284ij-code-server-4.89.1/libexec/code-server/lib/vscode/extensions/git/dist/askpass-main.js', VSCODE_GIT_IPC_HANDLE: '/run/user/1000/vscode-git-2b1e8a49ae.sock' } }
No, this works as expected in native VS Code
I did not test GitHub Codespaces
which bash outputs /nix/store/agkxax48k35wdmkhmmija2i2sxg8i7ny-bash-5.2p26/bin/bash
which bash
/nix/store/agkxax48k35wdmkhmmija2i2sxg8i7ny-bash-5.2p26/bin/bash
This setting fixes the issue:
"terminal.integrated.profiles.linux": { "bash": null }
Actually this is happening to normal vscodium too, so this is probably not a code-server specific bug.
Maybe related: https://github.com/microsoft/vscode/issues/194630
Is there an existing issue for this?
OS/Web Information
code-server --version
: 4.89.1 effc6e95b4ad1c5ac5f9083ec06663ba4a2e005c with Code 1.89.1Steps to Reproduce
nix-shell -p code-server
code-server
Expected
tab and arrow keys work and everything looks normal
Actual
Tab and arrow keys don't work and things look wierd (
\[\]
)Logs
Screenshot/Video
Does this bug reproduce in native VS Code?
No, this works as expected in native VS Code
Does this bug reproduce in GitHub Codespaces?
I did not test GitHub Codespaces
Are you accessing code-server over a secure context?
Notes
which bash
outputs/nix/store/agkxax48k35wdmkhmmija2i2sxg8i7ny-bash-5.2p26/bin/bash
This setting fixes the issue: