我在 command line 底下執行程式時
在 windows 上按方向鍵就可以左右移動光標
但現在只會變成 ^[[D ^[[C
像是執行下面這個程式:
#include <stdio.h>
int main() { getchar(); }
就會出現這個問題
我要怎麼做才能讓他可以移動??
Shell: tcsh, bash 都試過
--
光明 的背後 是 黑暗
黑暗 的背後 還是 黑暗
由此可知 黑暗 > 光明 Q.E.D.
--
在 windows 上按方向鍵就可以左右移動光標
但現在只會變成 ^[[D ^[[C
像是執行下面這個程式:
#include <stdio.h>
int main() { getchar(); }
就會出現這個問題
我要怎麼做才能讓他可以移動??
Shell: tcsh, bash 都試過
--
光明 的背後 是 黑暗
黑暗 的背後 還是 黑暗
由此可知 黑暗 > 光明 Q.E.D.
--
All Comments