"Weird" characters are visible in VSCode Git Bash terminal output (like this: `←[90m` )
Hello, fellow theoists! I'm watching a new video from Theo, and have an issue after running
pnpm db:push
command inside VSCode "Git Bash" terminal, in Windows 10.
I see some "weird" characters inside of my console.
The issue does not exist in Command Prompt
terminal.
I think the problem related to how git bash
is interpreting something from this list:
- [ ] ASCII escape characters
- [ ] ASCII spacing characters
- [ ] color codes for console theme
1) What is this ←[90m
in the git bash
console?
2) How to remove ←[90m
from git bash
terminal output?
3) How to hide this ←[90m
, or how to make it invisible?
4) Can ←[90m
be replaced with space
?
5) I have never seen such characters before. Or at least I didn't notice them before, like never 😉
Theo - t3․gg
YouTube
From 0 to Production - The Modern React Tutorial (RSCs, Next.js, Sh...
The Modern React Tutorial is FINALLY done. This one took awhile.
Shoutout to ALL the awesome sponsors who made this possible:
- Vercel
- Clerk
- Posthog
- Sentry
- Upstash
NOTES I MENTION DURING VIDEO
"Nextgram": https://github.com/vercel/nextgram/tree/main/app
"useUploadThingInputProps": https://gist.github.com/t3dotgg/0464ca78e94acce80ba04ca...
N
Neto•13d ago
git bash is just bad
more over its the font not handling it well
try with wsl or the default terminal
K
KO•13d ago
I do not want wsl or default terminal. Theo is using VSCode in his native OS, which is MacOS, right?
I want to do the same but for Windows to use git bash in VSCode
Font is unrelated to the issue at hand. It is the ascii characters that are misbehaving inside git bash, I think.
Because I changed the console font to 'Fira Code' or 'Consolas', it looks different (as it should based on installed font), but weird characters still persist inside git bash terminal.
Why is it bad? I have been using it since I started to learn HTML, and it has been ok exp for me 🙂
N
Neto•13d ago
then keep using it!
mostly because its a emulation
T
TurnipSwagger•12d ago
When I was using Windows, I always installed a console emulator (e..g ConEmu). It adds a lot of useful features to Git Bash. I would not be surprised if it can handle ANSI colors.
An alternative is using zsh instead of bash (https://gist.github.com/fworks/af4c896c9de47d827d4caa6fd7154b6b)
Gist
Zsh / Oh-my-zsh on Windows Git Bash
Zsh / Oh-my-zsh on Windows Git Bash. GitHub Gist: instantly share code, notes, and snippets.
21KMembers
View on DiscordWant results from more Discord servers?
More PostsNext Auth Drizzle Adapter does not include extra columns (fields)`auth.ts`
```ts
providers: [
GoogleProvider({
clientId: env.GOOGLE_CLIENT_ID,
clienuseUploadthing hook is slowHi, I recently started using Uploadthing. My use case involves attaching images to messages in my chCaching getSignedUrl without DB?In my tRPC using app, I store image files on Cloudflare R2. The client browse these images by listiVercel and Cloudflare DDoS protectionHello!
I have a question, If I host my site on vercel and put static files on the site like logo orSystemError [ERR_TTY_INIT_FAILED]: TTY initialization failed: uv_tty_init returned EINVAL (invalid aI cloned create t3 app locally, then I tried to run it locally by first running
pnpm install
then pnAnimating a background moving between grid elementsI made this simple switch but I wanna animate the background moving from left to right instead of haIs Theo's new tutorial any good for a Vue Dev?Truth be told I have never touched React or any .tsx before. However I have been doing vue for the lEmail exist verificationdoes anyone knows a way to verify if an email exists? like is there such a package or services with Issues with Clerk and Unit testingI am working on a project for work and we have a strict requirement for unit tests. I decided to go Drizzle + SQLite updated at fieldIs the only way to have an updated at field in SQLite just setting the updated at by hand on each upHow can I replicate the vanilla behavior of NextJS API routing in T3 stack?I am currently working on a project in which i would like to have my server side requests to an endpWhat is this app?this works but nope?I'm new to Suspense, this works great but I get the error: Did you forget to use 'await'?
It works,Micro Front End best practicesHello! I recently landed a job within a stack centered around micro front ends (react + node), whichUsing Turso in T3-CreateHi,
I am trying to use Turso for T3. I am using drizzle. The connection .env is slightly different No file route found for slug in deploymentThis issue arose when I started my deployment on Render , which simply read as
No file route found Will server components be refeteched on mutation?If I have a page using the server trpc and then a client component that updates the list, will the sNextjs parallel routing questionsI have this routing setup right,
```bash
{
(main) {
about {}
contact {}
(illustrationsHow can I subscribe to updates in an RSS feed?I want to subscribe to changes on a shopify store’s RSS feed for their products. It seems extremely How can I configure tRPC to function as a REST API (single-route)?I'm new to tRPC and not sure why this produces an error when an external POST request is sent to the