Skip to content

Instantly share code, notes, and snippets.

@RobinTF
RobinTF / script.sh
Last active May 26, 2022 10:55
Fix to wsl + ncurses mouse input issue on Ubuntu 20.04 and earlier
#!/bin/bash
TMP=$(mktemp)
curl -fsSL "https://gist.githubusercontent.com/RobinTF/925f5990889a304e2132684db4e971d3/raw/11b2a9d76b616e6d07d418d177bebc9d94504546/xterm-256color" > "$TMP"
tic -x "$TMP"
rm "$TMP"