about summary refs log tree commit diff stats
path: root/termbox/termbox.c
Commit message (Expand)AuthorAgeFilesLines
* 3862Kartik K. Agaram2017-05-191-13/+12
* 3861 - screen untouched when entering console modeKartik K. Agaram2017-05-181-1/+0
* 3860 - stop buffering the screen in termboxKartik K. Agaram2017-05-181-171/+16
* 3858Kartik K. Agaram2017-05-131-5/+2
* 3857Kartik K. Agaram2017-05-131-12/+2
* 3854Kartik K. Agaram2017-05-131-7/+149
* 3842Kartik K. Agaram2017-05-041-16/+5
* 3824 - experiment: stop buffering in termboxKartik K. Agaram2017-04-161-146/+5
* 3222Kartik K. Agaram2016-08-181-0/+4
* 2131 - better tb_sync()Kartik K. Agaram2015-09-021-6/+10
* 2113 - stop updating entire screen on tb_present()Kartik K. Agaram2015-08-291-0/+9
* 2078 - update entire screen on tb_present()Kartik K. Agaram2015-08-261-4/+0
* 1964 - don't mess up pasteKartik K. Agaram2015-08-091-0/+2
* 1731 - ah, now fully responsiveKartik K. Agaram2015-07-081-0/+5
* 1573Kartik K. Agaram2015-06-161-0/+8
* 1531 - enable termbox's mouse supportKartik K. Agaram2015-06-051-0/+1
* 1530 - switch to termbox's 256-color modeKartik K. Agaram2015-06-051-34/+10
* 1486 - repl: hitting enter now workingKartik K. Agaram2015-05-271-0/+5
* 1327 - better error handling in chessboardKartik K. Agaram2015-05-101-2/+10
* 1323 - keyboard supports backspace and newlineKartik K. Agaram2015-05-101-4/+1
* 1276 - make C++ version the defaultKartik K. Agaram2015-05-051-0/+562
artik Agaram <vc@akkartik.com> 2020-01-02 01:41:55 -0800 committer Kartik Agaram <vc@akkartik.com> 2020-01-02 02:01:41 -0800 5865' href='/akkartik/mu/commit/run_one_test?h=main&id=9e5e87ca3776efa5f0d772ed8cf348bf6ee4d08e'>9e5e87ca ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
                  
                                                                               
                                                                      

                                                                              


                       
                                                                                 
                                                              

                                   
    
                                  
    


                            
 
      
 
                                                                       
                                                    
#!/usr/bin/env zsh
# Either run the test with the given name, or rerun the most recently run test.
# Intended to be called from within Vim. Check out the vimrc.vim file.
# Unfortunately this only works with Linux at the moment. Some compiler passes
# take too long to run in emulated mode.

if [[ $2 == 'test-'* ]]
then
  TEST_NAME=$2 envsubst '$TEST_NAME' < run_one_test.subx > /tmp/run_one_test.subx
  FILES=$(ls [0-9]*.subx apps/subx-params.subx $1 |sort |uniq)
  echo $FILES > /tmp/last_run_files
elif [[ -e /tmp/last_run_files ]]
then
  FILES=$(cat /tmp/last_run_files)
else
  echo "no test found"
  exit 0  # don't open trace
fi

set -e

./translate_subx_debug init.linux $(echo $FILES) /tmp/run_one_test.subx
CFLAGS=$CFLAGS ./bootstrap --debug --trace run a.elf